<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Failed to recongnize keyword “sampler2DRect” and "sampler2DRectShadow""
href="https://bugs.freedesktop.org/show_bug.cgi?id=106906#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Failed to recongnize keyword “sampler2DRect” and "sampler2DRectShadow""
href="https://bugs.freedesktop.org/show_bug.cgi?id=106906">bug 106906</a>
from <span class="vcard"><a class="email" href="mailto:zhaowei.yuan@samsung.com" title="Zhaowei Yuan <zhaowei.yuan@samsung.com>"> <span class="fn">Zhaowei Yuan</span></a>
</span></b>
<pre>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);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>