Initial implementation of direct-mapped subset of HLSL intrinsics with type subset.

This checkin implements about half of the HLSL intrinsics for a subset of their
entire type support (but a useful subset).  The uncommented lines in
TBuiltInParseablesHlsl::identifyBuiltIns shows which are connected.
This commit is contained in:
LoopDawg
2016-05-26 10:10:16 -06:00
parent 85b52f304d
commit 4b67732c13
16 changed files with 5433 additions and 37 deletions

View File

@@ -1,5 +1,5 @@
hlsl.precedence2.frag
Shader version: 100
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:10 Function Definition: PixelShaderFunction(i1;i1;i1;i1; (temp int)
@@ -31,7 +31,7 @@ gl_FragCoord origin is upper left
Linked fragment stage:
Shader version: 100
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:10 Function Definition: PixelShaderFunction(i1;i1;i1;i1; (temp int)
@@ -68,7 +68,7 @@ gl_FragCoord origin is upper left
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction"
ExecutionMode 4 OriginUpperLeft
Source HLSL 100
Source HLSL 450
Name 4 "PixelShaderFunction"
Name 8 "a1"
Name 10 "a2"