Skip to content

nir/tgsi: Set type for intrinsic_load_uniform

Andreas Baierl requested to merge rellla/mesa:tgsi_fixes into master

We need to set the type explicitly in tgsi_to_nir pass.

This fixes an assert which i ran into during tests using the tgsi_to_nir pass on lima hardware with setting PIPE_SHADER_CAP_PREFERRED_IR to PIPE_SHADER_IR_TGSI for vs and fs. We need to explicitly set the type of the load_uniform intrinsic.

Merge request reports