panfrost/midgard: Lower mixed csel (NIR)
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 3 May 2019 03:16:14 +0000 (03:16 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 4 May 2019 19:08:51 +0000 (19:08 +0000)
commitcdd9189aadb621b27b8f0cfc020cb61a4ead6baa
tree362eb51bf3f30ef7e7051cc2afe4b4ecddba1950
parent58a1e1f86c3b1ee54bedacc873d403ba4813f574
panfrost/midgard: Lower mixed csel (NIR)

Basically, when the conditions of a csel diverge, we scalarize to avoid
going into weird code paths during emit. We could be doing better, but
this case can't occur organically from GLSL as far as I can, though it
does fix lowered atan2.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/ci/expected-failures.txt
src/gallium/drivers/panfrost/midgard/midgard_compile.c