[Mesa-dev] [Bug 106906] Failed to recongnize keyword “sampler2DRect” and "sampler2DRectShadow"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 13 08:41:20 UTC 2018


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

--- Comment #1 from Zhaowei Yuan <zhaowei.yuan at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180613/466413ec/attachment.html>


More information about the mesa-dev mailing list