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

@@ -222,7 +222,7 @@ Shader version: 500
0:? Sequence
0:27 Sequence
0:27 move second child to first child ( temp 4-component vector of float)
0:? '@entryPointOutput_Pos' ( out 4-component vector of float Position)
0:? '@entryPointOutput.Pos' ( out 4-component vector of float Position)
0:27 Pos: direct index for structure ( temp 4-component vector of float)
0:27 Function Call: @main( ( temp structure{ temp 4-component vector of float Pos})
0:27 Constant:
@@ -242,7 +242,7 @@ Shader version: 500
0:? 'g_tTexcdf4' ( uniform textureCube)
0:? 'g_tTexcdi4' ( uniform itextureCube)
0:? 'g_tTexcdu4' ( uniform utextureCube)
0:? '@entryPointOutput_Pos' ( out 4-component vector of float Position)
0:? '@entryPointOutput.Pos' ( out 4-component vector of float Position)
Linked vertex stage:
@@ -471,7 +471,7 @@ Shader version: 500
0:? Sequence
0:27 Sequence
0:27 move second child to first child ( temp 4-component vector of float)
0:? '@entryPointOutput_Pos' ( out 4-component vector of float Position)
0:? '@entryPointOutput.Pos' ( out 4-component vector of float Position)
0:27 Pos: direct index for structure ( temp 4-component vector of float)
0:27 Function Call: @main( ( temp structure{ temp 4-component vector of float Pos})
0:27 Constant:
@@ -491,7 +491,7 @@ Shader version: 500
0:? 'g_tTexcdf4' ( uniform textureCube)
0:? 'g_tTexcdi4' ( uniform itextureCube)
0:? 'g_tTexcdu4' ( uniform utextureCube)
0:? '@entryPointOutput_Pos' ( out 4-component vector of float Position)
0:? '@entryPointOutput.Pos' ( out 4-component vector of float Position)
// Module Version 10000
// Generated by (magic number): 80001
@@ -533,7 +533,7 @@ Shader version: 500
Name 143 "txval42"
Name 146 "g_tTexcdu4"
Name 153 "vsout"
Name 162 "@entryPointOutput_Pos"
Name 162 "@entryPointOutput.Pos"
Name 165 "g_tTex1df4a"
Decorate 16(g_tTex1df4) DescriptorSet 0
Decorate 16(g_tTex1df4) Binding 0
@@ -550,7 +550,7 @@ Shader version: 500
Decorate 128(g_tTexcdf4) DescriptorSet 0
Decorate 137(g_tTexcdi4) DescriptorSet 0
Decorate 146(g_tTexcdu4) DescriptorSet 0
Decorate 162(@entryPointOutput_Pos) BuiltIn Position
Decorate 162(@entryPointOutput.Pos) BuiltIn Position
Decorate 165(g_tTex1df4a) DescriptorSet 0
Decorate 165(g_tTex1df4a) Binding 1
2: TypeVoid
@@ -644,13 +644,13 @@ Shader version: 500
155: 6(float) Constant 0
156: 7(fvec4) ConstantComposite 155 155 155 155
161: TypePointer Output 7(fvec4)
162(@entryPointOutput_Pos): 161(ptr) Variable Output
162(@entryPointOutput.Pos): 161(ptr) Variable Output
165(g_tTex1df4a): 15(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
163:8(VS_OUTPUT) FunctionCall 10(@main()
164: 7(fvec4) CompositeExtract 163 0
Store 162(@entryPointOutput_Pos) 164
Store 162(@entryPointOutput.Pos) 164
Return
FunctionEnd
10(@main():8(VS_OUTPUT) Function None 9