HLSL: Move debug naming to a simpler, more consistent, scheme.
This will help in expanding flattening and reducing splitting.
This commit is contained in:
@@ -105,13 +105,13 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:49 Sequence
|
||||
0:49 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:49 color: direct index for structure ( temp 4-component vector of float)
|
||||
0:49 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
|
||||
0:49 Constant:
|
||||
0:49 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:
|
||||
@@ -223,13 +223,13 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:49 Sequence
|
||||
0:49 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:49 color: direct index for structure ( temp 4-component vector of float)
|
||||
0:49 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
|
||||
0:49 Constant:
|
||||
0:49 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
|
||||
@@ -279,8 +279,8 @@ gl_FragCoord origin is upper left
|
||||
Name 111 "r33"
|
||||
Name 112 "b4x4"
|
||||
Name 116 "ps_output"
|
||||
Name 127 "color"
|
||||
Decorate 127(color) Location 0
|
||||
Name 127 "@entryPointOutput.color"
|
||||
Decorate 127(@entryPointOutput.color) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
8: TypeFloat 32
|
||||
@@ -331,12 +331,12 @@ gl_FragCoord origin is upper left
|
||||
120: 9(fvec4) ConstantComposite 119 119 119 119
|
||||
121: TypePointer Function 9(fvec4)
|
||||
126: TypePointer Output 9(fvec4)
|
||||
127(color): 126(ptr) Variable Output
|
||||
127(@entryPointOutput.color): 126(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
128:10(PS_OUTPUT) FunctionCall 12(@main()
|
||||
129: 9(fvec4) CompositeExtract 128 0
|
||||
Store 127(color) 129
|
||||
Store 127(@entryPointOutput.color) 129
|
||||
Return
|
||||
FunctionEnd
|
||||
6(TestBoolMatTypes(): 2 Function None 3
|
||||
|
||||
Reference in New Issue
Block a user