commit | 7f6a491eec02d6c141e2b4849a3ba924926a482a | [log] [tgz] |
---|---|---|
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | Tue May 05 17:04:46 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Wed May 06 09:20:27 2020 +0000 |
tree | b79dea5c4b8765a9ec757cb18d1a0fb991a3ee1b | |
parent | f457e1b6d5814e51cb9e0ae47e8fd5936139f42f [diff] |
zink: lower b2b to b2i Zink requires 1-bit booleans, but this requirement was missed before b2b1s started getting automatically inserted. Let's lower these away, to avoid piglit regressions. Fixes the following piglits: - shaders@glsl-vs-if-bool - spec@!opengl 2.0@vertex-program-two-side Fixes: c217ee8d35f ("nir: Insert b2b1s around booleans in nir_lower_to") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2902 Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4903>