glslang-zig/hlsl
steve-lunarg 75fd223f03 HLSL: allow "sample" as a valid identifier.
HLSL has keywords for various interpolation modifiers such as "linear",
"centroid", "sample", etc.  Of these, "sample" appears to be special,
as it is also accepted as an identifier string, where the others are not.

This PR adds this ability, so the construct "int sample = 42;" no longer
produces a compilation error.

New test = hlsl.identifier.sample.frag
2016-11-16 13:22:11 -07:00
..
CMakeLists.txt HLSL: implement numthreads for compute shaders 2016-10-31 09:28:17 -06:00
hlslAttributes.cpp HLSL: implement numthreads for compute shaders 2016-10-31 09:28:17 -06:00
hlslAttributes.h HLSL: implement numthreads for compute shaders 2016-10-31 09:28:17 -06:00
hlslGrammar.cpp HLSL: allow "sample" as a valid identifier. 2016-11-16 13:22:11 -07:00
hlslGrammar.h HLSL: implement numthreads for compute shaders 2016-10-31 09:28:17 -06:00
hlslOpMap.cpp HLSL: Basic array grammar. 2016-06-19 11:50:34 -06:00
hlslOpMap.h HLSL: Add (almost) full expression grammar: Binary, unary (pre/post-fix), assign, ... 2016-05-03 23:33:00 -06:00
hlslParseables.cpp HLSL: Fix unary and binary operator type conversion issues 2016-10-18 16:56:37 -06:00
hlslParseables.h Add lerp, fix sincos return type, ret type tests, non-square mats, HLSL->AST tx semantics 2016-06-21 10:10:48 -06:00
hlslParseHelper.cpp Merge pull request #576 from steve-lunarg/uav-registers 2016-11-14 09:39:46 -07:00
hlslParseHelper.h Whole stack: Fix stale types in the AST linker object nodes, fixing #557. 2016-11-05 10:22:33 -06:00
hlslScanContext.cpp HLSL: Add min*{float,int,uint} types 2016-10-31 12:46:05 -06:00
hlslScanContext.h HLSL: Implement basic "struct" grammar. 2016-06-12 23:54:31 -06:00
hlslTokens.h HLSL: Add min*{float,int,uint} types 2016-10-31 12:46:05 -06:00
hlslTokenStream.cpp HLSL: Fix a grammar error related to constructors in parenthetical expressions 2016-07-30 08:09:09 -06:00
hlslTokenStream.h HLSL: Fix a grammar error related to constructors in parenthetical expressions 2016-07-30 08:09:09 -06:00