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

@ -817,7 +817,7 @@ gl_FragCoord origin is upper left
0:? Sequence
0:53 Sequence
0:53 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:53 Color: direct index for structure ( temp 4-component vector of float)
0:53 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
0:53 Constant:
@ -840,7 +840,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2di1a' (layout( r32i) uniform iimage2DArray)
0:? 'g_tTex2du1a' (layout( r32ui) uniform uimage2DArray)
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4, uniform float uf1, uniform int ui1, uniform uint uu1})
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:
@ -1664,7 +1664,7 @@ gl_FragCoord origin is upper left
0:? Sequence
0:53 Sequence
0:53 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:53 Color: direct index for structure ( temp 4-component vector of float)
0:53 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
0:53 Constant:
@ -1687,7 +1687,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2di1a' (layout( r32i) uniform iimage2DArray)
0:? 'g_tTex2du1a' (layout( r32ui) uniform uimage2DArray)
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4, uniform float uf1, uniform int ui1, uniform uint uu1})
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
@ -1818,7 +1818,7 @@ gl_FragCoord origin is upper left
Name 524 "storeTempPost"
Name 531 "storeTemp"
Name 539 "psout"
Name 547 "Color"
Name 547 "@entryPointOutput.Color"
Name 552 "g_sSamp"
Name 555 "g_tTex1df1a"
Name 558 "g_tTex1di1a"
@ -1848,7 +1848,7 @@ gl_FragCoord origin is upper left
Decorate 125(g_tTex3df1) DescriptorSet 0
Decorate 135(g_tTex3di1) DescriptorSet 0
Decorate 143(g_tTex3du1) DescriptorSet 0
Decorate 547(Color) Location 0
Decorate 547(@entryPointOutput.Color) Location 0
Decorate 552(g_sSamp) DescriptorSet 0
Decorate 552(g_sSamp) Binding 0
Decorate 555(g_tTex1df1a) DescriptorSet 0
@ -1934,7 +1934,7 @@ gl_FragCoord origin is upper left
540: 39(fvec4) ConstantComposite 382 382 382 382
541: TypePointer Function 39(fvec4)
546: TypePointer Output 39(fvec4)
547(Color): 546(ptr) Variable Output
547(@entryPointOutput.Color): 546(ptr) Variable Output
550: TypeSampler
551: TypePointer UniformConstant 550
552(g_sSamp): 551(ptr) Variable UniformConstant
@ -1960,7 +1960,7 @@ gl_FragCoord origin is upper left
5: Label
548:40(PS_OUTPUT) FunctionCall 42(@main()
549: 39(fvec4) CompositeExtract 548 0
Store 547(Color) 549
Store 547(@entryPointOutput.Color) 549
Return
FunctionEnd
10(Fn1(i1;): 6(int) Function None 8