v3dv: enable sample rate shading if fragment shader reads gl_SampleID

Graphics / Mesa 3D Graphics Library / Mesa - Iago Toral Quiroga [igalia.com] - 13 October 2020 21:21 UTC

According to the spec, if a fragment shader reads gl_SampleID then the shader must be evaluated per-sample.

Fixes: dEQP-VK.pipeline.multisample_shader_builtin.write_sample_mask.4_samples

Part-of:

6ee88f0acde v3dv: enable sample rate shading if fragment shader reads gl_SampleID
src/broadcom/vulkan/v3dv_pipeline.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share