HLSL: Move debug naming to a simpler, more consistent, scheme.

This will help in expanding flattening and reducing splitting.
This commit is contained in:
John Kessenich
2017-08-09 14:29:29 -06:00
parent 3322dd8f99
commit e516d4335f
138 changed files with 2276 additions and 2278 deletions

View File

@@ -168,13 +168,13 @@ gl_FragCoord origin is upper left
0:? Sequence
0:45 Sequence
0:45 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:45 color: direct index for structure ( temp 4-component vector of float)
0:45 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
0:45 Constant:
0:45 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:
@@ -349,13 +349,13 @@ gl_FragCoord origin is upper left
0:? Sequence
0:45 Sequence
0:45 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:45 color: direct index for structure ( temp 4-component vector of float)
0:45 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
0:45 Constant:
0:45 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
@@ -392,8 +392,8 @@ gl_FragCoord origin is upper left
MemberName 87(two) 1 "b"
Name 89 "twoNonConst"
Name 99 "ps_output"
Name 109 "color"
Decorate 109(color) Location 0
Name 109 "@entryPointOutput.color"
Decorate 109(@entryPointOutput.color) Location 0
2: TypeVoid
3: TypeFunction 2
8: TypeFloat 32
@@ -445,12 +445,12 @@ gl_FragCoord origin is upper left
102: 9(fvec4) ConstantComposite 18 18 18 18
103: TypePointer Function 9(fvec4)
108: TypePointer Output 9(fvec4)
109(color): 108(ptr) Variable Output
109(@entryPointOutput.color): 108(ptr) Variable Output
4(main): 2 Function None 3
5: Label
110:10(PS_OUTPUT) FunctionCall 12(@main()
111: 9(fvec4) CompositeExtract 110 0
Store 109(color) 111
Store 109(@entryPointOutput.color) 111
Return
FunctionEnd
6(Test1(): 2 Function None 3