[Mesa-dev] [PATCH] glsl: disable ARB_texture_cube_map_array_enable keywords for glsl es
Chris Forbes
chrisf at ijw.co.nz
Thu Jul 25 23:47:49 PDT 2013
>+samplerCubeArray KEYWORD_WITH_ALT(130, 0, 150, 0, yyextra->ARB_texture_cube_map_array_enable, SAMPLERCUBEARRAY);
>+isamplerCubeArray KEYWORD_WITH_ALT(130, 0, 150, 0, yyextra->ARB_texture_cube_map_array_enable, ISAMPLERCUBEARRAY);
>+usamplerCubeArray KEYWORD_WITH_ALT(130, 0, 150, 0, yyextra->ARB_texture_cube_map_array_enable, USAMPLERCUBEARRAY);
>+samplerCubeArrayShadow KEYWORD_WITH_ALT(130, 0, 150, 0, yyextra->ARB_texture_cube_map_array_enable, SAMPLERCUBEARRAYSHADOW);
These aren't quite right. They become keywords in 4.0, and are not
reserved in any earlier spec, so you want
KEYWORD_WITH_ALT(400, 0, 400, 0, yyextra-> ....
With that fixed,
Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
-- Chris
More information about the mesa-dev
mailing list