HLSL: Move debug naming to a simpler, more consistent, scheme.
This will help in expanding flattening and reducing splitting.
This commit is contained in:
@@ -124,14 +124,14 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:10 Sequence
|
||||
0:10 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:10 Color: direct index for structure ( temp 4-component vector of float)
|
||||
0:10 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
|
||||
0:10 Constant:
|
||||
0:10 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int idx, uniform 3X2 matrix of float um})
|
||||
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:
|
||||
@@ -262,14 +262,14 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:10 Sequence
|
||||
0:10 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:10 Color: direct index for structure ( temp 4-component vector of float)
|
||||
0:10 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
|
||||
0:10 Constant:
|
||||
0:10 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int idx, uniform 3X2 matrix of float um})
|
||||
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
|
||||
@@ -308,14 +308,14 @@ gl_FragCoord origin is upper left
|
||||
Name 60 "indexable"
|
||||
Name 63 "r0c"
|
||||
Name 71 "psout"
|
||||
Name 80 "Color"
|
||||
Name 80 "@entryPointOutput.Color"
|
||||
MemberDecorate 52($Global) 0 Offset 0
|
||||
MemberDecorate 52($Global) 1 RowMajor
|
||||
MemberDecorate 52($Global) 1 Offset 16
|
||||
MemberDecorate 52($Global) 1 MatrixStride 16
|
||||
Decorate 52($Global) Block
|
||||
Decorate 54 DescriptorSet 0
|
||||
Decorate 80(Color) Location 0
|
||||
Decorate 80(@entryPointOutput.Color) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -357,12 +357,12 @@ gl_FragCoord origin is upper left
|
||||
70: TypePointer Function 8(PS_OUTPUT)
|
||||
74: TypePointer Function 7(fvec4)
|
||||
79: TypePointer Output 7(fvec4)
|
||||
80(Color): 79(ptr) Variable Output
|
||||
80(@entryPointOutput.Color): 79(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
81:8(PS_OUTPUT) FunctionCall 10(@main()
|
||||
82: 7(fvec4) CompositeExtract 81 0
|
||||
Store 80(Color) 82
|
||||
Store 80(@entryPointOutput.Color) 82
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(PS_OUTPUT) Function None 9
|
||||
|
||||
Reference in New Issue
Block a user