diff options
author | Chris Forbes <[email protected]> | 2013-11-29 21:21:56 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2013-12-07 17:14:39 +1300 |
commit | 51aa15aca2bf5764b8cd62bbf2329eda40f7a859 (patch) | |
tree | 93f13b8280c101da3a69ec0d9e8f251b4bd9582c /src/glsl/glsl_lexer.ll | |
parent | a1ca5802401c384c1eadbf72cf910c65e377600c (diff) |
glsl: Add frontend support for `sample` auxiliary storage qualifier
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/glsl/glsl_lexer.ll')
-rw-r--r-- | src/glsl/glsl_lexer.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_lexer.ll b/src/glsl/glsl_lexer.ll index 822d70d6b66..50875bf3b23 100644 --- a/src/glsl/glsl_lexer.ll +++ b/src/glsl/glsl_lexer.ll @@ -520,7 +520,7 @@ readonly KEYWORD(0, 300, 0, 0, READONLY); writeonly KEYWORD(0, 300, 0, 0, WRITEONLY); resource KEYWORD(0, 300, 0, 0, RESOURCE); patch KEYWORD(0, 300, 0, 0, PATCH); -sample KEYWORD(0, 300, 0, 0, SAMPLE); +sample KEYWORD_WITH_ALT(400, 300, 400, 0, yyextra->ARB_gpu_shader5_enable, SAMPLE); subroutine KEYWORD(0, 300, 0, 0, SUBROUTINE); |