HLSL Tests: Tests for previous commit, to make it easier to see what's changing.
This commit is contained in:
@@ -2,7 +2,7 @@ hlsl.stringtoken.frag
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:16 Function Definition: main( (global structure{temp 4-component vector of float Color})
|
||||
0:16 Function Definition: main( (temp structure{temp 4-component vector of float Color})
|
||||
0:16 Function Parameters:
|
||||
0:? Sequence
|
||||
0:18 move second child to first child (temp 4-component vector of float)
|
||||
@@ -26,8 +26,8 @@ gl_FragCoord origin is upper left
|
||||
0:19 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? 'TestTexture' (uniform texture2D)
|
||||
0:? 'TestUF' (uniform 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? 'anon@0' (uniform block{layout(offset=0 ) uniform 4-component vector of float TestUF})
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -36,7 +36,7 @@ Linked fragment stage:
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:16 Function Definition: main( (global structure{temp 4-component vector of float Color})
|
||||
0:16 Function Definition: main( (temp structure{temp 4-component vector of float Color})
|
||||
0:16 Function Parameters:
|
||||
0:? Sequence
|
||||
0:18 move second child to first child (temp 4-component vector of float)
|
||||
@@ -60,12 +60,12 @@ gl_FragCoord origin is upper left
|
||||
0:19 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? 'TestTexture' (uniform texture2D)
|
||||
0:? 'TestUF' (uniform 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? 'anon@0' (uniform block{layout(offset=0 ) uniform 4-component vector of float TestUF})
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 28
|
||||
// Id's are bound by 29
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
@@ -78,9 +78,13 @@ gl_FragCoord origin is upper left
|
||||
Name 10 "psout"
|
||||
Name 19 "Color"
|
||||
Name 25 "TestTexture"
|
||||
Name 27 "TestUF"
|
||||
Name 26 "$Global"
|
||||
MemberName 26($Global) 0 "TestUF"
|
||||
Name 28 ""
|
||||
Decorate 19(Color) Location 0
|
||||
Decorate 25(TestTexture) DescriptorSet 0
|
||||
Decorate 26($Global) Block
|
||||
Decorate 28 DescriptorSet 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -98,8 +102,9 @@ gl_FragCoord origin is upper left
|
||||
23: TypeImage 6(float) 2D sampled format:Unknown
|
||||
24: TypePointer UniformConstant 23
|
||||
25(TestTexture): 24(ptr) Variable UniformConstant
|
||||
26: TypePointer UniformConstant 7(fvec4)
|
||||
27(TestUF): 26(ptr) Variable UniformConstant
|
||||
26($Global): TypeStruct 7(fvec4)
|
||||
27: TypePointer Uniform 26($Global)
|
||||
28: 27(ptr) Variable Uniform
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
10(psout): 9(ptr) Variable Function
|
||||
|
||||
Reference in New Issue
Block a user