HLSL: Move debug naming to a simpler, more consistent, scheme.
This will help in expanding flattening and reducing splitting.
This commit is contained in:
@@ -188,13 +188,13 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:93 Sequence
|
||||
0:93 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:93 color: direct index for structure ( temp 4-component vector of float)
|
||||
0:93 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
|
||||
0:93 Constant:
|
||||
0:93 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:
|
||||
@@ -389,13 +389,13 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:93 Sequence
|
||||
0:93 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:93 color: direct index for structure ( temp 4-component vector of float)
|
||||
0:93 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
|
||||
0:93 Constant:
|
||||
0:93 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
|
||||
@@ -478,8 +478,8 @@ gl_FragCoord origin is upper left
|
||||
Name 214 "r33"
|
||||
Name 215 "u4x4"
|
||||
Name 219 "ps_output"
|
||||
Name 229 "color"
|
||||
Decorate 229(color) Location 0
|
||||
Name 229 "@entryPointOutput.color"
|
||||
Decorate 229(@entryPointOutput.color) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
10: TypeFloat 32
|
||||
@@ -566,12 +566,12 @@ gl_FragCoord origin is upper left
|
||||
222: 11(fvec4) ConstantComposite 221 221 221 221
|
||||
223: TypePointer Function 11(fvec4)
|
||||
228: TypePointer Output 11(fvec4)
|
||||
229(color): 228(ptr) Variable Output
|
||||
229(@entryPointOutput.color): 228(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
230:12(PS_OUTPUT) FunctionCall 14(@main()
|
||||
231: 11(fvec4) CompositeExtract 230 0
|
||||
Store 229(color) 231
|
||||
Store 229(@entryPointOutput.color) 231
|
||||
Return
|
||||
FunctionEnd
|
||||
6(TestIntMatTypes(): 2 Function None 3
|
||||
|
||||
Reference in New Issue
Block a user