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:
@@ -1,5 +1,5 @@
|
||||
hlsl.assoc.frag
|
||||
Shader version: 100
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:12 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vf4;vf4; (temp 4-component vector of float)
|
||||
@@ -35,7 +35,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:12 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vf4;vf4; (temp 4-component vector of float)
|
||||
@@ -76,7 +76,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 9 "a1"
|
||||
Name 10 "a2"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
hlsl.float1.frag
|
||||
Shader version: 100
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:1 move second child to first child (temp 1-component vector of float)
|
||||
@@ -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:1 move second child to first child (temp 1-component vector of float)
|
||||
@@ -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 11 "ShaderFunction(vf1;f1;"
|
||||
Name 9 "inFloat1"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
hlsl.float4.frag
|
||||
Shader version: 100
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:1 move second child to first child (temp 4-component vector of float)
|
||||
@@ -24,7 +24,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:1 move second child to first child (temp 4-component vector of float)
|
||||
@@ -54,7 +54,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 11 "ShaderFunction(vf4;"
|
||||
Name 10 "input"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
hlsl.frag
|
||||
Shader version: 100
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:1 move second child to first child (temp 4-component vector of float)
|
||||
@@ -64,7 +64,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:1 move second child to first child (temp 4-component vector of float)
|
||||
@@ -134,7 +134,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 9 "input"
|
||||
Name 12 "AmbientIntensity"
|
||||
|
||||
2178
Test/baseResults/hlsl.intrinsics.frag.out
Normal file
2178
Test/baseResults/hlsl.intrinsics.frag.out
Normal file
File diff suppressed because it is too large
Load Diff
1994
Test/baseResults/hlsl.intrinsics.vert.out
Normal file
1994
Test/baseResults/hlsl.intrinsics.vert.out
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
hlsl.matType.frag
|
||||
Shader version: 100
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:1 move second child to first child (temp 1-component vector of float)
|
||||
@@ -22,7 +22,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:1 move second child to first child (temp 1-component vector of float)
|
||||
@@ -51,7 +51,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 11 "ShaderFunction(vf1;f1;"
|
||||
Name 9 "inFloat1"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
hlsl.max.frag
|
||||
Shader version: 100
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:5 Function Definition: PixelShaderFunction(vf4;vf4; (temp 4-component vector of float)
|
||||
@@ -17,7 +17,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:5 Function Definition: PixelShaderFunction(vf4;vf4; (temp 4-component vector of float)
|
||||
@@ -40,7 +40,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 9 "input1"
|
||||
Name 11 "input2"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
hlsl.precedence.frag
|
||||
Shader version: 100
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:10 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vf4; (temp 4-component vector of float)
|
||||
@@ -23,7 +23,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(vf4;vf4;vf4;vf4; (temp 4-component vector of float)
|
||||
@@ -52,7 +52,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 9 "a1"
|
||||
Name 11 "a2"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
hlsl.sin.frag
|
||||
Shader version: 100
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:5 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float)
|
||||
@@ -15,7 +15,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:5 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float)
|
||||
@@ -36,7 +36,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 9 "input"
|
||||
2: TypeVoid
|
||||
|
||||
Reference in New Issue
Block a user