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

@@ -241,13 +241,13 @@ gl_FragCoord origin is upper left
0:53 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:53 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
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 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:53 Constant:
0:53 0 (const int)
0:53 move second child to first child ( temp float)
0:? '@entryPointOutput_Depth' ( out float FragDepth)
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:53 Depth: direct index for structure ( temp float)
0:53 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:53 Constant:
@@ -269,8 +269,8 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' ( uniform textureCube)
0:? 'g_tTexcdi4' ( uniform itextureCube)
0:? 'g_tTexcdu4' ( uniform utextureCube)
0:? '@entryPointOutput_Depth' ( out float FragDepth)
0:? 'Color' (layout( location=0) out 4-component vector of float)
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
Linked fragment stage:
@@ -516,13 +516,13 @@ gl_FragCoord origin is upper left
0:53 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:53 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
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 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:53 Constant:
0:53 0 (const int)
0:53 move second child to first child ( temp float)
0:? '@entryPointOutput_Depth' ( out float FragDepth)
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:53 Depth: direct index for structure ( temp float)
0:53 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:53 Constant:
@@ -544,8 +544,8 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' ( uniform textureCube)
0:? 'g_tTexcdi4' ( uniform itextureCube)
0:? 'g_tTexcdu4' ( uniform utextureCube)
0:? '@entryPointOutput_Depth' ( out float FragDepth)
0:? 'Color' (layout( location=0) out 4-component vector of float)
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80001
@@ -604,8 +604,8 @@ gl_FragCoord origin is upper left
Name 169 "g_tTexcdu4"
Name 176 "psout"
Name 185 "flattenTemp"
Name 188 "Color"
Name 192 "@entryPointOutput_Depth"
Name 188 "@entryPointOutput.Color"
Name 192 "@entryPointOutput.Depth"
Name 195 "g_sSamp2d"
Name 196 "g_sSamp2D_b"
Name 197 "g_tTex1df4a"
@@ -624,8 +624,8 @@ gl_FragCoord origin is upper left
Decorate 151(g_tTexcdf4) DescriptorSet 0
Decorate 160(g_tTexcdi4) DescriptorSet 0
Decorate 169(g_tTexcdu4) DescriptorSet 0
Decorate 188(Color) Location 0
Decorate 192(@entryPointOutput_Depth) BuiltIn FragDepth
Decorate 188(@entryPointOutput.Color) Location 0
Decorate 192(@entryPointOutput.Depth) BuiltIn FragDepth
Decorate 195(g_sSamp2d) DescriptorSet 0
Decorate 196(g_sSamp2D_b) DescriptorSet 0
Decorate 197(g_tTex1df4a) DescriptorSet 0
@@ -731,9 +731,9 @@ gl_FragCoord origin is upper left
178: 7(fvec4) ConstantComposite 177 177 177 177
180: TypePointer Function 6(float)
187: TypePointer Output 7(fvec4)
188(Color): 187(ptr) Variable Output
188(@entryPointOutput.Color): 187(ptr) Variable Output
191: TypePointer Output 6(float)
192(@entryPointOutput_Depth): 191(ptr) Variable Output
192(@entryPointOutput.Depth): 191(ptr) Variable Output
195(g_sSamp2d): 48(ptr) Variable UniformConstant
196(g_sSamp2D_b): 48(ptr) Variable UniformConstant
197(g_tTex1df4a): 44(ptr) Variable UniformConstant
@@ -744,10 +744,10 @@ gl_FragCoord origin is upper left
Store 185(flattenTemp) 186
189: 41(ptr) AccessChain 185(flattenTemp) 29
190: 7(fvec4) Load 189
Store 188(Color) 190
Store 188(@entryPointOutput.Color) 190
193: 180(ptr) AccessChain 185(flattenTemp) 16
194: 6(float) Load 193
Store 192(@entryPointOutput_Depth) 194
Store 192(@entryPointOutput.Depth) 194
Return
FunctionEnd
10(@main():8(PS_OUTPUT) Function None 9