HLSL: Move debug naming to a simpler, more consistent, scheme.
This will help in expanding flattening and reducing splitting.
This commit is contained in:
@@ -119,14 +119,14 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:30 Sequence
|
||||
0:30 move second child to first child ( temp 4-component vector of float)
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
|
||||
0:30 Color: direct index for structure ( temp 4-component vector of float)
|
||||
0:30 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
|
||||
0:30 Constant:
|
||||
0:30 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -252,14 +252,14 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:30 Sequence
|
||||
0:30 move second child to first child ( temp 4-component vector of float)
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
|
||||
0:30 Color: direct index for structure ( temp 4-component vector of float)
|
||||
0:30 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
|
||||
0:30 Constant:
|
||||
0:30 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
@@ -292,11 +292,11 @@ gl_FragCoord origin is upper left
|
||||
Name 71 "r22"
|
||||
Name 76 "r23"
|
||||
Name 82 "psout"
|
||||
Name 90 "Color"
|
||||
Name 90 "@entryPointOutput.Color"
|
||||
Name 93 "$Global"
|
||||
MemberName 93($Global) 0 "uf4"
|
||||
Name 95 ""
|
||||
Decorate 90(Color) Location 0
|
||||
Decorate 90(@entryPointOutput.Color) Location 0
|
||||
MemberDecorate 93($Global) 0 Offset 0
|
||||
Decorate 93($Global) Block
|
||||
Decorate 95 DescriptorSet 0
|
||||
@@ -318,7 +318,7 @@ gl_FragCoord origin is upper left
|
||||
83: TypeInt 32 1
|
||||
84: 83(int) Constant 0
|
||||
89: TypePointer Output 7(fvec4)
|
||||
90(Color): 89(ptr) Variable Output
|
||||
90(@entryPointOutput.Color): 89(ptr) Variable Output
|
||||
93($Global): TypeStruct 7(fvec4)
|
||||
94: TypePointer Uniform 93($Global)
|
||||
95: 94(ptr) Variable Uniform
|
||||
@@ -326,7 +326,7 @@ gl_FragCoord origin is upper left
|
||||
5: Label
|
||||
91:13(PS_OUTPUT) FunctionCall 15(@main()
|
||||
92: 7(fvec4) CompositeExtract 91 0
|
||||
Store 90(Color) 92
|
||||
Store 90(@entryPointOutput.Color) 92
|
||||
Return
|
||||
FunctionEnd
|
||||
11(Bug1(vf4;): 2 Function None 9
|
||||
|
||||
Reference in New Issue
Block a user