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

@ -2752,7 +2752,7 @@ gl_FragCoord origin is upper left
0:? Sequence
0:484 Sequence
0:484 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:484 color: direct index for structure ( temp 4-component vector of float)
0:484 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
0:484 Constant:
@ -2770,7 +2770,7 @@ gl_FragCoord origin is upper left
0:? 'gs_ua4' ( shared 4-component vector of uint)
0:? 'gs_ub4' ( shared 4-component vector of uint)
0:? 'gs_uc4' ( shared 4-component vector of uint)
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:
@ -5529,7 +5529,7 @@ gl_FragCoord origin is upper left
0:? Sequence
0:484 Sequence
0:484 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:484 color: direct index for structure ( temp 4-component vector of float)
0:484 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
0:484 Constant:
@ -5547,7 +5547,7 @@ gl_FragCoord origin is upper left
0:? 'gs_ua4' ( shared 4-component vector of uint)
0:? 'gs_ub4' ( shared 4-component vector of uint)
0:? 'gs_uc4' ( shared 4-component vector of uint)
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
@ -6059,7 +6059,7 @@ gl_FragCoord origin is upper left
Name 1769 "r15"
Name 1773 "r16"
Name 1778 "ps_output"
Name 1786 "color"
Name 1786 "@entryPointOutput.color"
Name 1790 "gs_ua"
Name 1791 "gs_ub"
Name 1792 "gs_uc"
@ -6072,7 +6072,7 @@ gl_FragCoord origin is upper left
Name 1802 "gs_ua4"
Name 1803 "gs_ub4"
Name 1804 "gs_uc4"
Decorate 1786(color) Location 0
Decorate 1786(@entryPointOutput.color) Location 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -6185,7 +6185,7 @@ gl_FragCoord origin is upper left
1779: 155(int) Constant 0
1780: 48(fvec4) ConstantComposite 283 283 283 283
1785: TypePointer Output 48(fvec4)
1786(color): 1785(ptr) Variable Output
1786(@entryPointOutput.color): 1785(ptr) Variable Output
1789: TypePointer Workgroup 8(int)
1790(gs_ua): 1789(ptr) Variable Workgroup
1791(gs_ub): 1789(ptr) Variable Workgroup
@ -6206,7 +6206,7 @@ gl_FragCoord origin is upper left
5: Label
1787:131(PS_OUTPUT) FunctionCall 133(@main()
1788: 48(fvec4) CompositeExtract 1787 0
Store 1786(color) 1788
Store 1786(@entryPointOutput.color) 1788
Return
FunctionEnd
16(PixelShaderFunctionS(f1;f1;f1;u1;u1;): 6(float) Function None 10