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

@@ -1942,7 +1942,7 @@ gl_FragCoord origin is upper left
0:? Sequence
0:45 Sequence
0:45 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:45 Color: direct index for structure ( temp 4-component vector of float)
0:45 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
0:45 Constant:
@@ -1968,7 +1968,7 @@ gl_FragCoord origin is upper left
0:? 'g_tBuffI' (layout( r32i) uniform iimageBuffer)
0:? 'g_tBuffU' (layout( r32ui) uniform uimageBuffer)
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform uint u1, uniform 2-component vector of uint u2, uniform 3-component vector of uint u3, uniform uint u1b, uniform uint u1c, uniform int i1, uniform 2-component vector of int i2, uniform 3-component vector of int i3, uniform int i1b, uniform int i1c})
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:
@@ -3917,7 +3917,7 @@ gl_FragCoord origin is upper left
0:? Sequence
0:45 Sequence
0:45 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:45 Color: direct index for structure ( temp 4-component vector of float)
0:45 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
0:45 Constant:
@@ -3943,7 +3943,7 @@ gl_FragCoord origin is upper left
0:? 'g_tBuffI' (layout( r32i) uniform iimageBuffer)
0:? 'g_tBuffU' (layout( r32ui) uniform uimageBuffer)
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform uint u1, uniform 2-component vector of uint u2, uniform 3-component vector of uint u3, uniform uint u1b, uniform uint u1c, uniform int i1, uniform 2-component vector of int i2, uniform 3-component vector of int i3, uniform int i1b, uniform int i1c})
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
@@ -3986,7 +3986,7 @@ gl_FragCoord origin is upper left
Name 931 "g_tBuffI"
Name 1020 "g_tBuffU"
Name 1108 "psout"
Name 1117 "Color"
Name 1117 "@entryPointOutput.Color"
Name 1122 "g_sSamp"
Name 1125 "g_tTex1df1"
Name 1128 "g_tTex2df1"
@@ -4018,7 +4018,7 @@ gl_FragCoord origin is upper left
Decorate 670(g_tTex1du1a) DescriptorSet 0
Decorate 931(g_tBuffI) DescriptorSet 0
Decorate 1020(g_tBuffU) DescriptorSet 0
Decorate 1117(Color) Location 0
Decorate 1117(@entryPointOutput.Color) Location 0
Decorate 1122(g_sSamp) DescriptorSet 0
Decorate 1125(g_tTex1df1) DescriptorSet 0
Decorate 1128(g_tTex2df1) DescriptorSet 0
@@ -4100,7 +4100,7 @@ gl_FragCoord origin is upper left
1110: 7(fvec4) ConstantComposite 1109 1109 1109 1109
1111: TypePointer Function 7(fvec4)
1116: TypePointer Output 7(fvec4)
1117(Color): 1116(ptr) Variable Output
1117(@entryPointOutput.Color): 1116(ptr) Variable Output
1120: TypeSampler
1121: TypePointer UniformConstant 1120
1122(g_sSamp): 1121(ptr) Variable UniformConstant
@@ -4132,7 +4132,7 @@ gl_FragCoord origin is upper left
5: Label
1118:8(PS_OUTPUT) FunctionCall 10(@main()
1119: 7(fvec4) CompositeExtract 1118 0
Store 1117(Color) 1119
Store 1117(@entryPointOutput.Color) 1119
Return
FunctionEnd
10(@main():8(PS_OUTPUT) Function None 9