pan/bi: Handle info.fs.untyped_color_outputs on Valhall
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 19 Aug 2022 18:56:18 +0000 (14:56 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sun, 21 Aug 2022 19:37:10 +0000 (19:37 +0000)
commitcf55e05f8f2b3082b3a03e476c95bef401e366da
tree235fee1ff8379e834f160533c49debec820bdf72
parent394e1f5862a5cd537f60c01ed75dc698e112da58
pan/bi: Handle info.fs.untyped_color_outputs on Valhall

Colour outputs in TGSI are untyped so we have to ignore the register format on
the store_output. Luckily, Valhall gives us the auto32 escape hatch to deal with
it, and Bifrost doesn't care anyway. This will avoid regressions from native int
output without corrupting the compiler for GLSL and SPIR-V shaders that are
well-typed.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17841>
src/panfrost/bifrost/bifrost_compile.c