Skip to content

vc4: enable lower_isign for VC4

Since 1e7d82c8 ("nir/algebraic: always lower idiv to shifts if bitops are allowed") idiv is lowered and generates a isign operation.

VC4 HW doesn't support isign and lower_isign wasn't enabled. Enabling it fixes the regressions caused by this new optimization on piglit tests shaders/glsl-fs-loop-nested.

Fixes: 1e7d82c8 ("nir/algebraic: always lower idiv to shifts if bitops are allowed")

Merge request reports