Skip to content

nvc0/ir: add fixup to deal with interpolateAtSample with non-MSAA

Ilia Mirkin requested to merge imirkin/mesa:nvc0-interp-sample into master

The spec calls to always use sample 0 in this case, whereas we can do undefined things for invalid sample id's in the MSAA case.

Fixes dEQP-GLES31.functional.shaders.multisample_interpolation.interpolate_at_sample.non_multisample_buffer.sample_n_*

Signed-off-by: Ilia Mirkin imirkin@alum.mit.edu

Merge request reports