Skip to content

ttn: Fix number of components for IF/UIF

Connor Abbott requested to merge cwabbott0/mesa:review/nir-tgsi-fix into master

NIR if statements only take one component, but TGSI registers are vec4. We're supposed to compare the x component, per https://docs.mesa3d.org/gallium/tgsi.html#opcode-IF.

Fixes: f103bded ("ttn: Use nir control flow insertion helpers") Closes: #3585 (closed)

Merge request reports