mesa/src/gallium/drivers/asahi
Alyssa Rosenzweig 81d22da6de asahi: Fix BIND_PIPELINE sizing and alignment
Fix a bug in BIND_PIPELINE XML reported by Dougall, which cleans up
a bit of both decoder and driver.

Instead of...

   * 17 bytes BIND_PIPELINE  (17)
   * An unused 8 byte record (25)
   * A set of N 8 byte records (25 + 8 * N)
   * Oops, 1 byte too many! One just disappeared (24 + 8 * N)

It seems to instead be

   * 24 bytes BIND_PIPELINE (24)
   * A set of N 8 byte records (24 + 8 * N)

without the sentinel record. These means the 8 byte records themselves
are shuffled, with the high byte of the pointers split from the low
word, but that's less gross than an off-by-one.

It's still not clear what the last 8 bytes of the BIND_VERTEX_PIPELINE
structure mean, or the last 4 byte of the BIND_FRAGMENT_PIPELINE
structure which seems to be a bit shorter.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13784>
2021-11-18 23:35:25 +00:00
..
agx_blit.c gallium/u_blitter: disable sample shading for all blits 2021-11-04 15:06:09 +00:00
agx_pipe.c gallium: rename PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER 2021-11-18 07:58:29 -05:00
agx_public.h asahi: Add Gallium driver 2021-05-02 17:54:05 -04:00
agx_state.c asahi: Fix BIND_PIPELINE sizing and alignment 2021-11-18 23:35:25 +00:00
agx_state.h asahi: Calculate cube map stride 2021-07-24 13:56:04 -04:00
agx_uniforms.c asahi: Skip over holes in the vbufs 2021-07-06 13:44:50 +00:00
magic.c asahi: Remove silly magic numbers 2021-11-18 23:35:25 +00:00
magic.h asahi: Allow specifying an encoder ID 2021-07-11 14:48:59 -04:00
meson.build asahi: Implement colour buffer reloads 2021-07-05 20:56:04 +00:00