HLSL: Move debug naming to a simpler, more consistent, scheme.
This will help in expanding flattening and reducing splitting.
This commit is contained in:
@@ -85,13 +85,13 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:5 Sequence
|
||||
0:5 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:5 color: direct index for structure ( temp 4-component vector of float)
|
||||
0:5 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
|
||||
0:5 Constant:
|
||||
0:5 0 (const int)
|
||||
0:? Linker Objects
|
||||
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:
|
||||
@@ -183,13 +183,13 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:5 Sequence
|
||||
0:5 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:5 color: direct index for structure ( temp 4-component vector of float)
|
||||
0:5 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
|
||||
0:5 Constant:
|
||||
0:5 0 (const int)
|
||||
0:? Linker Objects
|
||||
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
|
||||
@@ -219,8 +219,8 @@ gl_FragCoord origin is upper left
|
||||
Name 36 "r11"
|
||||
Name 38 "r12"
|
||||
Name 40 "ps_output"
|
||||
Name 51 "color"
|
||||
Decorate 51(color) Location 0
|
||||
Name 51 "@entryPointOutput.color"
|
||||
Decorate 51(@entryPointOutput.color) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -245,12 +245,12 @@ gl_FragCoord origin is upper left
|
||||
41: 24(int) Constant 0
|
||||
45: TypePointer Function 7(fvec4)
|
||||
50: TypePointer Output 7(fvec4)
|
||||
51(color): 50(ptr) Variable Output
|
||||
51(@entryPointOutput.color): 50(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
52:8(PS_OUTPUT) FunctionCall 10(@main()
|
||||
53: 7(fvec4) CompositeExtract 52 0
|
||||
Store 51(color) 53
|
||||
Store 51(@entryPointOutput.color) 53
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(PS_OUTPUT) Function None 9
|
||||
|
||||
Reference in New Issue
Block a user