asahi: Correct SET_SHADER_EXTENDED disambig bit
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 3 Sep 2022 18:01:03 +0000 (14:01 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sun, 4 Sep 2022 18:05:31 +0000 (18:05 +0000)
commit2bdb8ba3ce3c8f4ccda533f67ed4ed0667bf5345
tree86ac635a3b5ea7d8327a9f21681e89846ae55630
parent210f4aff1e24967b6fa25b228c09d2a8d0b617cb
asahi: Correct SET_SHADER_EXTENDED disambig bit

This is still a guess, but a considerably firmer one as it now corrects
handles the clear pipelines emitted by Metal as well as the regular
vertex/fragment shader, and gets rid of the preshader special cases
seen there. Fixes decode of clear pipeline's preshaders.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18380>
src/asahi/lib/cmdbuf.xml
src/asahi/lib/decode.c
src/gallium/drivers/asahi/agx_state.c