URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea6502d7cc4172550ca560398503b88c75add8a5 Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Fri Oct 27 14:55:13 2023 -0400
asahi: Implement ARB_base_instance Now that load_base_instance is wired up (as part of the indirect GS implementation), this is really easy. Validated with Piglit. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=643428bd7f2852c136d9f16529445e7472722081 Author: Mary Guillemard <m...@mary.zone> Date: Sat Nov 4 02:36:14 2023 +0100 agx: Emit stack_adjust in the entrypoint Allocate space to fit scratch space. Signed-off-by: Mary Guillemard <m...@mary.zone> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5cdc86da0588f22fbf2629ce846b885b60e1c5e Author: Mary Guillemard <m...@mary.zone> Date: Sat Nov 4 02:32:20 2023 +0100 agx: Add stack adjust opcode Signed-off-by: Mary Guillemard <m...@mary.zone> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=588fd6dfd6f8e9c8a7e9f7c5cc58ceab23a9e495 Author: Mary Guillemard <m...@mary.zone> Date: Wed Nov 1 21:36:43 2023 +0100 agx: Implement scratch load/store Signed-off-by: Mary Guillemard <m...@mary.zone> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c15115de6bfb003f9dc9d96e2094fa7dc707a457 Author: Mary Guillemard <m...@mary.zone> Date: Wed Nov 1 21:29:49 2023 +0100 agx: Add stack load and store opcodes Signed-off-by: Mary Guillemard <m...@mary.zone> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=67d0f035ae5791bd08ebb6adffa4307fcf24bf6c Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Sun Nov 5 12:25:21 2023 -0400 docs: Mark timer queries as done on asahi Strictly needs uapi support that's not upstream, but so does the rest of the driver (-: Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49225db140a29d0e79aa9c2aafe356694f8051cb Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Sun Nov 5 12:26:59 2023 -0400 asahi: Implement timer queries Everything but the uapi piece. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc8232c4a2dae00f24441a56063068844c131802 Author: Mary Guillemard <m...@mary.zone> Date: Fri Oct 27 17:30:04 2023 +0200 asahi: clc: Handle doorbell and stack mapping intrinsics Also move nir_interleave_agx definition to libagx.h Signed-off-by: Mary Guillemard <m...@mary.zone> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=514d432e50941f7cfb3d763c54bdf188fab3fa05 Author: Mary Guillemard <m...@mary.zone> Date: Fri Oct 27 20:40:21 2023 +0200 agx: Handle doorbell and stack mapping intrinsics Signed-off-by: Mary Guillemard <m...@mary.zone> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee0e7b8347eaf245908d02838c53852344c9f8d9 Author: Mary Guillemard <m...@mary.zone> Date: Fri Oct 27 20:27:10 2023 +0200 agx: Add doorbell and stack mapping opcodes Signed-off-by: Mary Guillemard <m...@mary.zone> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0aa414897845d45ad22357e69ba21f63498c6454 Author: Mary Guillemard <m...@mary.zone> Date: Fri Oct 27 17:33:19 2023 +0200 nir: Add AGX-specific doorbell and stack mapping opcodes Signed-off-by: Mary Guillemard <m...@mary.zone> Reviewed-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d279ecd04965173e87bbc1ac29c83739ed75c3b Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Sun Oct 22 11:33:26 2023 -0400 asahi: Advertise ARB_clip_control Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5dddd1d53c8c06eb904432f6bd71456b04eb76d Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Sun Oct 22 11:32:08 2023 -0400 asahi: Plumb clip_halfz bit from RS Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fdb995c204c95eae3ecce2509a670f6f12b17f47 Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Sun Nov 5 12:23:38 2023 -0400 asahi: Don't use OpenGL clip bit This lets us implement clip control. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=695aef7f5afad636d1a7df7bc15e2135953412a2 Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Sun Oct 22 11:00:07 2023 -0400 asahi: rm unused deqp debug flag Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3270556eaabfec012e8f5b46d7a176a7df1db26c Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Thu Aug 17 13:03:37 2023 -0400 asahi: Advertise geometry shaders and cube arrays. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6a118b654caecf2c30d6e9a872783eae46a00d2 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Mon Oct 9 07:52:08 2023 -0400 asahi: Wire up geometry shaders - Compile GS with linked VS and auxiliary programs - Dispatch GS as compute programs + an indirect draw with the GS copy program - Use passthrough GS to implement XFB, replacing old XFB impl. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe7650bcf7067ee4a4be50f892471687f239be7c Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Mon Oct 9 07:45:22 2023 -0400 asahi: Add GS lowering pass The big monster. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=43e134b106cb09be4626e45de853ce6e17c28495 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Mon Oct 9 07:43:30 2023 -0400 asahi: Add helpers for lowering GS Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a67e220b8de30704319ff2b35432e3144df37a7 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Mon Oct 9 07:43:03 2023 -0400 asahi: Add data structures for geometry shaders Shared between GPU and CPU. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b96b62348fa77e385b6e87d6be3a1fb5d4cfd55 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Sun Jul 23 09:08:36 2023 -0400 asahi: Make encoder_allocate public In order to enqueue CDM and VDM to the same queue. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9dd59fef37d2866956df78cf4770e1496228e32 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Sun Jul 23 09:02:15 2023 -0400 asahi: Factor out agx_launch For launching compute kernels on particular batches without dirtying state. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=212f71734e194eeb2007a94ead2ecbe476fe772b Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Sun Nov 5 12:14:48 2023 -0400 asahi: Refactor encoder data structure Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=82e3eb4b74680bb5d9904609be25049fc3be6903 Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Sat Oct 28 09:19:14 2023 -0400 asahi: Don't hazard track fake resources Convenient for meta, which we use for implementing GS. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=949741d4c322e5dd6454c7d34586a1ef721684aa Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Fri Oct 6 21:00:43 2023 -0400 asahi: Upload tex/samplers properly with merged shaders Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=21d3c1e0afbab334b9f356f8ea97054fe3dec676 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Fri Oct 6 11:00:56 2023 -0400 asahi: Use the sampler heap Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc44619c6275eafd7b41b1f2f6ab4e2b5de71ed4 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Fri Oct 6 10:38:36 2023 -0400 asahi: Add sampler heap data structure Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c575eb18a9532c9207eb9fd1f615635ccd21115 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Fri Oct 6 09:55:49 2023 -0400 asahi: Handle load_sampler_handle Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df2c145c9149c69332faeb215fa638e1d9fc5420 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Fri Oct 6 09:56:34 2023 -0400 agx: Handle bindless samplers Unified encoding. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca42562c7f48beb44075c1dcb9246e5b15e21346 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Fri Oct 6 09:45:18 2023 -0400 agx: Lower LOD bias earlier To make the extra descriptor accesses explicit for drivers. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=972f289740669862c76d8b1d7fb74a8ea2e7ac37 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Fri Oct 6 09:53:32 2023 -0400 asahi: Lower samplers to bindless if needed Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=111e526f19946597b11c6c412d3a24fe47f7d4ab Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Tue Oct 3 15:38:23 2023 -0400 agx: Allow drivers to lower texture handles Rather than hardcoding u0_u1, this lets drivers map texture handles in whatever way is convenient. In particular, this makes textures work properly with merged shader stages (provided one of the stages is forced to use bindless access), by giving each stage an independent texture heap. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b69ab37bdc269879e6b3bd4ec2647292916fc6e3 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Fri Oct 6 15:23:51 2023 -0400 asahi: Pack non-border colour sampler desc Apparently custom border colours don't work properly with bindless. Needs investigation. Patch this out so we don't fault. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a74fbb38402c37fd2870a3dc6b25792cc2b53d1d Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Mon Aug 28 20:48:10 2023 -0400 agx: Translate simple subgroup ops We'll use these for optimizing parallel prefix sums. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=77bb446e901956745302d7250744e21d31ccea6d Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Mon Aug 28 20:18:23 2023 -0400 agx: Add scaffolding for subgroup ops Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b754410dac8ce951374bd3ef29ccbd7d883ce08 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Oct 4 11:25:36 2023 -0400 agx: Require 32-bit alignment for EOT offset Fixes piles of brokenness. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d7f5013f854090fe27cb52b9a63ff146fbbea1a Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Thu Oct 5 17:44:54 2023 -0400 agx: Cleanup 8-bit math before lowering Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b84f371a81908e762cb8af2495ddedba18f1717 Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Fri Oct 27 14:57:53 2023 -0400 docs/features: Mark ARB_mdi done on asahi Sync with reality. I think all gallium drivers support, it's a cpu-only thing unlike gl4.6's indirect multidraws or the similarly named vk feature. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b18181d924dc607bc0206b65280adc6cbf0a3dc0 Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Fri Oct 13 06:45:46 2023 -0400 agx: Check for spilling in release builds Don't smash stack -- explain to the user what happened. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b92c6310586e3b17eb922b442561b64cb3b1aff Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Thu Oct 12 15:45:28 2023 -0400 agx: Fix fragment side effects scheduling We can't move discards across side effects, or the side effect might not happen. Fixes KHR-GLES31.core.shader_image_load_store.basic-allFormats-load-fs regression. Sigh. CI is up next. Fixes: 119e5b9719a ("agx: Schedule for register pressure") Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e928f45735d671d6d8e588715ae006f30c583246 Author: Christian Gmeiner <cgmei...@igalia.com> Date: Wed Sep 27 09:59:35 2023 +0200 agx: Re-index nir defs to reduce memory usage nir_index_ssa_defs(..) will re-index the function impl and will update ssa_alloc. In almost all cases this will result in a lower ctx->alloc number which reduces memory usage in compiler passes that are using ctx-alloc to allocate memory. Signed-off-by: Christian Gmeiner <cgmei...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6b01aa1f255cca3237098ec1dd99b9d4ccd35c9 Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Mon Oct 23 08:38:05 2023 -0400 agx: Legalize image MS index Fix 2D MSAA Array tests in arb_shader_image_load_store-max-size Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=019a52fff0d1ac8979937deeec3cda1d01aabb73 Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Mon Oct 23 06:59:46 2023 -0400 asahi: Clamp 8-bit integer RTs Fixes gl-3.0-render-integer. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d9d9d02078e83f1aa00617d68b0d6ab9bb65b5d Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Sun Oct 22 19:28:45 2023 -0400 nir/print: handle adjacency Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Reviewed-by: Antonino Maniscalco <antonino.manisca...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0a4a8cda0e767dd3f81c8dc70fb264b9e345bdd Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Sun Nov 5 12:58:20 2023 -0400 nir: Add intrinsics for lowering bindless textures/samplers Needed for merged stages to work properly. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Reviewed-by: Antonino Maniscalco <antonino.manisca...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=33e80918de614d6576a377d69bd60a21c1b14990 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Sun Jul 16 11:53:34 2023 -0400 nir: Add intrinsics for lowering GS Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Reviewed-by: Antonino Maniscalco <antonino.manisca...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc3f20ca6c159c09bb06d4c6db0a499a853c1a54 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Mon Aug 14 16:55:21 2023 -0400 nir: Also gather decomposed primitive count Simple extension. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Reviewed-by: Antonino Maniscalco <antonino.manisca...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b65636ca408585c5172085203985657402a8e710 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Mon Aug 14 16:45:44 2023 -0400 nir/lower_gs_intrinsics: Count decomposed primitives too We need both: decomposed primitives for transform feedback and regular primitives for the sizing the index buffer. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Reviewed-by: Antonino Maniscalco <antonino.manisca...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a35aa3a2b2916c78a21d91ef0e9d844058f4021 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Sun Jul 16 11:05:35 2023 -0400 nir/lower_gs_intrinsics: Append EndPrimitive This is simpler for generic GS lowering. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Reviewed-by: Antonino Maniscalco <antonino.manisca...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f157a3de4e2aa58b7d4e579b269f4b6540674f09 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Sun Jul 16 11:04:57 2023 -0400 nir/lower_gs_intrinsics: Include primitive counts Generic GS lowering needs this, we already calculate it. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Reviewed-by: Antonino Maniscalco <antonino.manisca...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a147801f9b3e2f5910efb73d4825b507e2dfd7e7 Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Fri Oct 27 15:09:01 2023 -0400 compiler: Make u_decomposed_prims_for_vertices available to CL For indirect geometry shader setup. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Reviewed-by: Antonino Maniscalco <antonino.manisca...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=64f7b70763db56e3c3aebd391726e8c2a9566517 Author: Alyssa Rosenzweig <aly...@rosenzweig.io> Date: Thu Oct 26 08:58:28 2023 -0400 compiler: Inline mesa_vertices_per_prim Makes it more easily consumable from the gpu. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Reviewed-by: Antonino Maniscalco <antonino.manisca...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cfe2ecb33e6d2d6e1096b14887e7379336f3af6 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Mon Oct 9 07:47:38 2023 -0400 compiler: Make shader_enums.h CL-safe macros.h is not safe for CL for a bunch of reasons but shader_enums.h barely uses its functionality. Stub out the minimum for CL. Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io> Reviewed-by: Antonino Maniscalco <antonino.manisca...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056>