Skip to content

zink: lower b2b to b2i

Erik Faye-Lund requested to merge kusma/mesa:zink-lower_b2b into master

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: c217ee8d ("nir: Insert b2b1s around booleans in nir_lower_to")
Closes: #2902 (closed)

Edited by Erik Faye-Lund

Merge request reports