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

@ -61,7 +61,7 @@ gl_FragCoord origin is upper left
0:? Sequence
0:14 Sequence
0:14 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:14 Color: direct index for structure ( temp 4-component vector of float)
0:14 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
0:14 Constant:
@ -72,7 +72,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex1df2' ( uniform texture1D)
0:? 'g_tTex1df3' ( uniform texture1D)
0:? 'g_tTex1df4' ( uniform texture1D)
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:
@ -140,7 +140,7 @@ gl_FragCoord origin is upper left
0:? Sequence
0:14 Sequence
0:14 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:14 Color: direct index for structure ( temp 4-component vector of float)
0:14 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
0:14 Constant:
@ -151,7 +151,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex1df2' ( uniform texture1D)
0:? 'g_tTex1df3' ( uniform texture1D)
0:? 'g_tTex1df4' ( uniform texture1D)
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
@ -178,14 +178,14 @@ gl_FragCoord origin is upper left
Name 52 "txval13"
Name 53 "g_tTex1df4"
Name 59 "psout"
Name 69 "Color"
Name 69 "@entryPointOutput.Color"
Decorate 16(g_tTex1df1) DescriptorSet 0
Decorate 20(g_sSamp) DescriptorSet 0
Decorate 20(g_sSamp) Binding 0
Decorate 30(g_tTex1df2) DescriptorSet 0
Decorate 42(g_tTex1df3) DescriptorSet 0
Decorate 53(g_tTex1df4) DescriptorSet 0
Decorate 69(Color) Location 0
Decorate 69(@entryPointOutput.Color) Location 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -216,12 +216,12 @@ gl_FragCoord origin is upper left
62: 6(float) Constant 1065353216
63: 7(fvec4) ConstantComposite 62 62 62 62
68: TypePointer Output 7(fvec4)
69(Color): 68(ptr) Variable Output
69(@entryPointOutput.Color): 68(ptr) Variable Output
4(main): 2 Function None 3
5: Label
70:8(PS_OUTPUT) FunctionCall 10(@main()
71: 7(fvec4) CompositeExtract 70 0
Store 69(Color) 71
Store 69(@entryPointOutput.Color) 71
Return
FunctionEnd
10(@main():8(PS_OUTPUT) Function None 9