https://bugs.freedesktop.org/show_bug.cgi?id=106906

--- Comment #1 from Zhaowei Yuan <zhaowei.y...@samsung.com> ---
CTS cases
"dEQP-GLES2.functional.shaders.keywords.reserved_keywords.sampler2DRectShadow_vertex"
and
"dEQP-GLES2.functional.shaders.keywords.reserved_keywords.sampler2DRectShadow_fragment"
check that if shader complier can recongnize reserved keywords "sampler2DRect"
and "sampler2DRectShadow"

GLSL ES spec 1.0.17 says they are keywords reserved for future use. Using them
will result in an error

I've fixed the problem with follow modification:
-sampler2DRect         
DEPRECATED_ES_TYPE_WITH_ALT(yyextra->ARB_texture_rectangle_enable,
glsl_type::sampler2DRect_type);
+sampler2DRect          TYPE_WITH_ALT(110, 100, 0, 0,
yyextra->ARB_texture_rectangle_enable, glsl_type::sampler2DRect_type);
 sampler3DRect          KEYWORD(110, 100, 0, 0, SAMPLER3DRECT);
-sampler2DRectShadow   
DEPRECATED_ES_TYPE_WITH_ALT(yyextra->ARB_texture_rectangle_enable,
glsl_type::sampler2DRectShadow_type);
+sampler2DRectShadow    TYPE_WITH_ALT(110, 100, 0, 0,
yyextra->ARB_texture_rectangle_enable, glsl_type::sampler2DRectShadow_type);

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to