nir: Consider PNTC to be a varying

Fixes: 3528dcdf ("nir: add nir_io_semantics::no_varying, no_sysval_output, and helpers")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6091
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16761>
(cherry picked from commit f812cc0fe6)

Conflicts:
	src/gallium/drivers/d3d12/ci/d3d12-quick_gl.txt
This commit is contained in:
Jesse Natalie 2022-05-27 17:19:23 -07:00 committed by Dylan Baker
parent 364767c445
commit dc28a8fd88
3 changed files with 6 additions and 8 deletions

View file

@ -4279,7 +4279,7 @@
"description": "nir: Consider PNTC to be a varying",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "3528dcdfa18d688ec3fc69132095e93a8fe380c4"
},

View file

@ -3463,6 +3463,7 @@ nir_slot_is_varying(gl_varying_slot slot)
slot == VARYING_SLOT_BFC1 ||
slot == VARYING_SLOT_FOGC ||
(slot >= VARYING_SLOT_TEX0 && slot <= VARYING_SLOT_TEX7) ||
slot == VARYING_SLOT_PNTC ||
slot == VARYING_SLOT_CLIP_DIST0 ||
slot == VARYING_SLOT_CLIP_DIST1 ||
slot == VARYING_SLOT_CULL_DIST0 ||

View file

@ -32,7 +32,6 @@ shaders/activeprogram-get: skip
shaders/createshaderprogram-attached-shaders: skip
shaders/createshaderprogram-bad-type: skip
shaders/glsl-bug-110796: skip
shaders/glsl-fs-pointcoord: crash
shaders/glsl-max-varyings: fail
shaders/glsl-max-varyings >max_varying_components: fail
shaders/glsl-uniform-interstage-limits/1 vs, 520 fs: fail
@ -222,7 +221,6 @@ spec/!opengl 3.2/layered-rendering/gl-layer-cube-map: fail
spec/!opengl 3.2/layered-rendering/gl-layer-render: fail
spec/!opengl 3.2/layered-rendering/gl-layer-render-clipped: fail
spec/!opengl 3.2/layered-rendering/gl-layer-render-storage: fail
spec/!opengl 3.2/pointsprite-origin: crash
spec/!opengl 3.3/required-sized-texture-formats: fail
spec/!opengl 4.2/gl-max-vertex-attrib-stride: skip
spec/!opengl 4.2/required-sized-texture-formats: fail
@ -465,7 +463,6 @@ spec/arb_framebuffer_no_attachments/arb_framebuffer_no_attachments-query/ms2: sk
spec/arb_framebuffer_no_attachments/arb_framebuffer_no_attachments-query/ms4: skip
spec/arb_framebuffer_no_attachments/arb_framebuffer_no_attachments-query/ms6: skip
spec/arb_framebuffer_no_attachments/arb_framebuffer_no_attachments-query/ms8: skip
spec/arb_framebuffer_object/fbo-gl_pointcoord: crash
spec/arb_framebuffer_srgb/arb_framebuffer_srgb-srgb_conformance: fail
spec/arb_geometry_shader4/arb_geometry_shader4-ignore-adjacent-vertices gl_line_strip_adjacency: skip
spec/arb_geometry_shader4/arb_geometry_shader4-ignore-adjacent-vertices gl_lines_adjacency: skip
@ -3530,10 +3527,10 @@ wgl/wgl-sanity: skip
summary:
name: results
---- --------
pass: 17836
fail: 2048
crash: 10
skip: 1452
pass: 17850
fail: 2039
crash: 12
skip: 1450
timeout: 0
warn: 10
incomplete: 0