glslang-zig/hlsl
steve-lunarg d9cb832f9c HLSL: allow promotion from 1-vector types to scalars, e.g, float<-float1
Previously, an error was thrown when assigning a float1 to a scalar float,
or similar for other basic types.  This allows that.

Also, this allows calling functions accepting scalars with float1 params,
so for example sin(float1) will work.  This is a minor change in
HlslParseContext::findFunction().
2016-11-13 14:44:46 -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 expressions in attributes 2016-11-11 08:23:03 -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 HLSL: allow promotion from 1-vector types to scalars, e.g, float<-float1 2016-11-13 14:44: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