HLSL: Move debug naming to a simpler, more consistent, scheme.
This will help in expanding flattening and reducing splitting.
This commit is contained in:
parent
3322dd8f99
commit
e516d4335f
138 changed files with 2276 additions and 2278 deletions
|
|
@ -41,13 +41,13 @@ gl_FragCoord origin is upper left
|
|||
0:? Sequence
|
||||
0:4 Sequence
|
||||
0:4 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:4 color: direct index for structure ( temp 4-component vector of float)
|
||||
0:4 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
|
||||
0:4 Constant:
|
||||
0:4 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:
|
||||
|
|
@ -95,13 +95,13 @@ gl_FragCoord origin is upper left
|
|||
0:? Sequence
|
||||
0:4 Sequence
|
||||
0:4 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:4 color: direct index for structure ( temp 4-component vector of float)
|
||||
0:4 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
|
||||
0:4 Constant:
|
||||
0:4 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
|
||||
|
|
@ -118,8 +118,8 @@ gl_FragCoord origin is upper left
|
|||
MemberName 8(PS_OUTPUT) 0 "color"
|
||||
Name 10 "@main("
|
||||
Name 27 "ps_output"
|
||||
Name 37 "color"
|
||||
Decorate 37(color) Location 0
|
||||
Name 37 "@entryPointOutput.color"
|
||||
Decorate 37(@entryPointOutput.color) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
|
@ -146,12 +146,12 @@ gl_FragCoord origin is upper left
|
|||
30: 7(fvec4) ConstantComposite 29 29 29 29
|
||||
31: TypePointer Function 7(fvec4)
|
||||
36: TypePointer Output 7(fvec4)
|
||||
37(color): 36(ptr) Variable Output
|
||||
37(@entryPointOutput.color): 36(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
38:8(PS_OUTPUT) FunctionCall 10(@main()
|
||||
39: 7(fvec4) CompositeExtract 38 0
|
||||
Store 37(color) 39
|
||||
Store 37(@entryPointOutput.color) 39
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(PS_OUTPUT) Function None 9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue