KhronosGroup / VK-GL-CTS

Khronos Vulkan, OpenGL, and OpenGL ES Conformance Tests
https://www.khronos.org/
Apache License 2.0
521 stars 290 forks source link

keywords reserved for shader #431

Closed shenyun0116 closed 9 months ago

shenyun0116 commented 9 months ago

Hi, Whether the image1DArrayShadow and image2DArrayShadow should be set as a reserved keywords. GLSLangSpec.4.60.pdf only reserve sampler1DArrayShadow, sampler2DArrayShadow. Involved case: dEQP-GLES3.functional.shaders.keywords.allowed_keywords.image1DShadow_vertex dEQP-GLES3.functional.shaders.keywords.allowed_keywords.image1DShadow_fragment dEQP-GLES3.functional.shaders.keywords.allowed_keywords.image2DShadow_vertex dEQP-GLES3.functional.shaders.keywords.allowed_keywords.image2DShadow_fragment dEQP-GLES3.functional.shaders.keywords.allowed_keywords.image1DArrayShadow_vertex dEQP-GLES3.functional.shaders.keywords.allowed_keywords.image1DArrayShadow_fragment dEQP-GLES3.functional.shaders.keywords.allowed_keywords.image2DArrayShadow_vertex dEQP-GLES3.functional.shaders.keywords.allowed_keywords.image2DArrayShadow_fragment

#version 300 es precision mediump float; in highp vec4 dEQP_Position; void main() { **_float image2DArrayShadow = 1.0;_** gl_Position = dEQP_Position; }
shenyun0116 commented 9 months ago

3.2.9.0 New Tests:Check that image*Shadow are not reserved keywords