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

@@ -844,7 +844,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:
@@ -867,7 +867,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2di4a' (layout( rgba32i) uniform iimage2DArray)
0:? 'g_tTex2du4a' (layout( rgba32ui) 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 4-component vector of float uf4, uniform 4-component vector of int ui4, uniform 4-component vector of uint uu4})
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:
@@ -1718,7 +1718,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:
@@ -1741,7 +1741,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2di4a' (layout( rgba32i) uniform iimage2DArray)
0:? 'g_tTex2du4a' (layout( rgba32ui) 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 4-component vector of float uf4, uniform 4-component vector of int ui4, uniform 4-component vector of uint uu4})
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
@@ -1872,7 +1872,7 @@ gl_FragCoord origin is upper left
Name 561 "storeTempPost"
Name 569 "storeTemp"
Name 576 "psout"
Name 583 "Color"
Name 583 "@entryPointOutput.Color"
Name 588 "g_sSamp"
Name 591 "g_tTex1df4a"
Name 594 "g_tTex1di4a"
@@ -1903,7 +1903,7 @@ gl_FragCoord origin is upper left
Decorate 131(g_tTex3df4) DescriptorSet 0
Decorate 141(g_tTex3di4) DescriptorSet 0
Decorate 149(g_tTex3du4) DescriptorSet 0
Decorate 583(Color) Location 0
Decorate 583(@entryPointOutput.Color) Location 0
Decorate 588(g_sSamp) DescriptorSet 0
Decorate 588(g_sSamp) Binding 0
Decorate 591(g_tTex1df4a) DescriptorSet 0
@@ -2005,7 +2005,7 @@ gl_FragCoord origin is upper left
575: TypePointer Function 42(PS_OUTPUT)
577: 21(fvec4) ConstantComposite 408 408 408 408
582: TypePointer Output 21(fvec4)
583(Color): 582(ptr) Variable Output
583(@entryPointOutput.Color): 582(ptr) Variable Output
586: TypeSampler
587: TypePointer UniformConstant 586
588(g_sSamp): 587(ptr) Variable UniformConstant
@@ -2031,7 +2031,7 @@ gl_FragCoord origin is upper left
5: Label
584:42(PS_OUTPUT) FunctionCall 44(@main()
585: 21(fvec4) CompositeExtract 584 0
Store 583(Color) 585
Store 583(@entryPointOutput.Color) 585
Return
FunctionEnd
11(Fn1(vi4;): 7(ivec4) Function None 9