HLSL: Move debug naming to a simpler, more consistent, scheme.
This will help in expanding flattening and reducing splitting.
This commit is contained in:
@@ -55,14 +55,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 5-element array of 4-element array of 3-element array of float float_array})
|
||||
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:
|
||||
@@ -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 5-element array of 4-element array of 3-element array of float float_array})
|
||||
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
|
||||
@@ -153,14 +153,14 @@ gl_FragCoord origin is upper left
|
||||
Name 29 ""
|
||||
Name 40 "float4_array_2"
|
||||
Name 46 "psout"
|
||||
Name 54 "Color"
|
||||
Name 54 "@entryPointOutput.Color"
|
||||
Decorate 22 ArrayStride 16
|
||||
Decorate 24 ArrayStride 48
|
||||
Decorate 26 ArrayStride 192
|
||||
MemberDecorate 27($Global) 0 Offset 0
|
||||
Decorate 27($Global) Block
|
||||
Decorate 29 DescriptorSet 0
|
||||
Decorate 54(Color) Location 0
|
||||
Decorate 54(@entryPointOutput.Color) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -193,12 +193,12 @@ gl_FragCoord origin is upper left
|
||||
41: TypePointer Function 14
|
||||
45: TypePointer Function 8(PS_OUTPUT)
|
||||
53: TypePointer Output 7(fvec4)
|
||||
54(Color): 53(ptr) Variable Output
|
||||
54(@entryPointOutput.Color): 53(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
55:8(PS_OUTPUT) FunctionCall 10(@main()
|
||||
56: 7(fvec4) CompositeExtract 55 0
|
||||
Store 54(Color) 56
|
||||
Store 54(@entryPointOutput.Color) 56
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(PS_OUTPUT) Function None 9
|
||||
|
||||
Reference in New Issue
Block a user