HLSL: Move debug naming to a simpler, more consistent, scheme.
This will help in expanding flattening and reducing splitting.
This commit is contained in:
@@ -26,14 +26,14 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:9 Sequence
|
||||
0:9 move second child to first child ( noContraction temp 4-component vector of float)
|
||||
0:? 'color' (layout( location=0) noContraction out 4-component vector of float)
|
||||
0:? '@entryPointOutput.color' (layout( location=0) noContraction out 4-component vector of float)
|
||||
0:9 color: direct index for structure ( noContraction temp 4-component vector of float)
|
||||
0:9 Function Call: @main( ( temp structure{ noContraction temp 4-component vector of float color})
|
||||
0:9 Constant:
|
||||
0:9 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'precisefloat' ( noContraction global float)
|
||||
0:? 'color' (layout( location=0) noContraction out 4-component vector of float)
|
||||
0:? '@entryPointOutput.color' (layout( location=0) noContraction out 4-component vector of float)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -66,14 +66,14 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:9 Sequence
|
||||
0:9 move second child to first child ( noContraction temp 4-component vector of float)
|
||||
0:? 'color' (layout( location=0) noContraction out 4-component vector of float)
|
||||
0:? '@entryPointOutput.color' (layout( location=0) noContraction out 4-component vector of float)
|
||||
0:9 color: direct index for structure ( noContraction temp 4-component vector of float)
|
||||
0:9 Function Call: @main( ( temp structure{ noContraction temp 4-component vector of float color})
|
||||
0:9 Constant:
|
||||
0:9 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'precisefloat' ( noContraction global float)
|
||||
0:? 'color' (layout( location=0) noContraction out 4-component vector of float)
|
||||
0:? '@entryPointOutput.color' (layout( location=0) noContraction out 4-component vector of float)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
@@ -93,9 +93,9 @@ gl_FragCoord origin is upper left
|
||||
MemberName 16(PS_OUTPUT) 0 "color"
|
||||
Name 18 "@main("
|
||||
Name 21 "ps_output"
|
||||
Name 32 "color"
|
||||
Name 32 "@entryPointOutput.color"
|
||||
Name 36 "precisefloat"
|
||||
Decorate 32(color) Location 0
|
||||
Decorate 32(@entryPointOutput.color) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -113,14 +113,14 @@ gl_FragCoord origin is upper left
|
||||
25: 15(fvec4) ConstantComposite 24 24 24 24
|
||||
26: TypePointer Function 15(fvec4)
|
||||
31: TypePointer Output 15(fvec4)
|
||||
32(color): 31(ptr) Variable Output
|
||||
32(@entryPointOutput.color): 31(ptr) Variable Output
|
||||
35: TypePointer Private 6(float)
|
||||
36(precisefloat): 35(ptr) Variable Private
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
33:16(PS_OUTPUT) FunctionCall 18(@main()
|
||||
34: 15(fvec4) CompositeExtract 33 0
|
||||
Store 32(color) 34
|
||||
Store 32(@entryPointOutput.color) 34
|
||||
Return
|
||||
FunctionEnd
|
||||
13(MyFunction(f1;vf3;): 2 Function None 10
|
||||
|
||||
Reference in New Issue
Block a user