Skip to content

tgsi_to_nir: Emit load_ubo_vec4 instead of load_ubo on non-integer HW.

Emma Anholt requested to merge anholt/mesa:ttn-ubo-vec4 into main

Otherwise, we get an ishl that the HW can't support, and a ushr if the NIR ends up being lowered to ubo_vec4, which may not get constant-folded if the offset was non-constant.

Fixes: #5971 (closed)

Merge request reports