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

@ -45,7 +45,7 @@ Shader version: 500
0:? Sequence
0:11 Sequence
0:11 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:11 Pos: direct index for structure ( temp 4-component vector of float)
0:11 Function Call: @main( ( temp structure{ temp 4-component vector of float Pos})
0:11 Constant:
@ -53,7 +53,7 @@ Shader version: 500
0:? Linker Objects
0:? 'g_sSamp' (layout( binding=0) uniform sampler)
0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
0:? '@entryPointOutput_Pos' ( out 4-component vector of float Position)
0:? '@entryPointOutput.Pos' ( out 4-component vector of float Position)
Linked vertex stage:
@ -105,7 +105,7 @@ Shader version: 500
0:? Sequence
0:11 Sequence
0:11 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:11 Pos: direct index for structure ( temp 4-component vector of float)
0:11 Function Call: @main( ( temp structure{ temp 4-component vector of float Pos})
0:11 Constant:
@ -113,7 +113,7 @@ Shader version: 500
0:? Linker Objects
0:? 'g_sSamp' (layout( binding=0) uniform sampler)
0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
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
@ -136,11 +136,11 @@ Shader version: 500
Name 24 "sizeQueryTemp"
Name 29 "NumberOfLevelsU"
Name 33 "vsout"
Name 42 "@entryPointOutput_Pos"
Name 42 "@entryPointOutput.Pos"
Name 47 "g_sSamp"
Decorate 17(g_tTex1df4) DescriptorSet 0
Decorate 17(g_tTex1df4) Binding 0
Decorate 42(@entryPointOutput_Pos) BuiltIn Position
Decorate 42(@entryPointOutput.Pos) BuiltIn Position
Decorate 47(g_sSamp) DescriptorSet 0
Decorate 47(g_sSamp) Binding 0
2: TypeVoid
@ -162,7 +162,7 @@ Shader version: 500
35: 7(fvec4) ConstantComposite 34 34 34 34
36: TypePointer Function 7(fvec4)
41: TypePointer Output 7(fvec4)
42(@entryPointOutput_Pos): 41(ptr) Variable Output
42(@entryPointOutput.Pos): 41(ptr) Variable Output
45: TypeSampler
46: TypePointer UniformConstant 45
47(g_sSamp): 46(ptr) Variable UniformConstant
@ -170,7 +170,7 @@ Shader version: 500
5: Label
43:8(VS_OUTPUT) FunctionCall 10(@main()
44: 7(fvec4) CompositeExtract 43 0
Store 42(@entryPointOutput_Pos) 44
Store 42(@entryPointOutput.Pos) 44
Return
FunctionEnd
10(@main():8(VS_OUTPUT) Function None 9