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

@@ -37,7 +37,7 @@ output primitive = triangle_strip
0:19 Sequence
0:19 Sequence
0:19 move second child to first child ( temp 4-component vector of float)
0:? 'ts_pos' ( out 4-component vector of float Position)
0:? 'ts.pos' ( out 4-component vector of float Position)
0:19 pos: direct index for structure ( temp 4-component vector of float)
0:19 'o' ( temp structure{ temp 4-component vector of float pos})
0:19 Constant:
@@ -59,7 +59,7 @@ output primitive = triangle_strip
0:14 Constant:
0:14 0 (const int)
0:14 direct index ( in 4-component vector of float Position)
0:? 'i_pos' ( in 3-element array of 4-component vector of float Position)
0:? 'i.pos' ( in 3-element array of 4-component vector of float Position)
0:14 Constant:
0:14 0 (const int)
0:14 move second child to first child ( temp 4-component vector of float)
@@ -71,7 +71,7 @@ output primitive = triangle_strip
0:14 Constant:
0:14 0 (const int)
0:14 direct index ( in 4-component vector of float Position)
0:? 'i_pos' ( in 3-element array of 4-component vector of float Position)
0:? 'i.pos' ( in 3-element array of 4-component vector of float Position)
0:14 Constant:
0:14 1 (const int)
0:14 move second child to first child ( temp 4-component vector of float)
@@ -83,15 +83,15 @@ output primitive = triangle_strip
0:14 Constant:
0:14 0 (const int)
0:14 direct index ( in 4-component vector of float Position)
0:? 'i_pos' ( in 3-element array of 4-component vector of float Position)
0:? 'i.pos' ( in 3-element array of 4-component vector of float Position)
0:14 Constant:
0:14 2 (const int)
0:14 Function Call: @main(struct-PS_IN-vf41[3];struct-GS_OUT-vf41; ( temp void)
0:? 'i' ( temp 3-element array of structure{ temp 4-component vector of float pos})
0:? 'ts' ( temp structure{ temp 4-component vector of float pos})
0:? Linker Objects
0:? 'i_pos' ( in 3-element array of 4-component vector of float Position)
0:? 'ts_pos' ( out 4-component vector of float Position)
0:? 'i.pos' ( in 3-element array of 4-component vector of float Position)
0:? 'ts.pos' ( out 4-component vector of float Position)
Linked geometry stage:
@@ -135,7 +135,7 @@ output primitive = triangle_strip
0:19 Sequence
0:19 Sequence
0:19 move second child to first child ( temp 4-component vector of float)
0:? 'ts_pos' ( out 4-component vector of float Position)
0:? 'ts.pos' ( out 4-component vector of float Position)
0:19 pos: direct index for structure ( temp 4-component vector of float)
0:19 'o' ( temp structure{ temp 4-component vector of float pos})
0:19 Constant:
@@ -157,7 +157,7 @@ output primitive = triangle_strip
0:14 Constant:
0:14 0 (const int)
0:14 direct index ( in 4-component vector of float Position)
0:? 'i_pos' ( in 3-element array of 4-component vector of float Position)
0:? 'i.pos' ( in 3-element array of 4-component vector of float Position)
0:14 Constant:
0:14 0 (const int)
0:14 move second child to first child ( temp 4-component vector of float)
@@ -169,7 +169,7 @@ output primitive = triangle_strip
0:14 Constant:
0:14 0 (const int)
0:14 direct index ( in 4-component vector of float Position)
0:? 'i_pos' ( in 3-element array of 4-component vector of float Position)
0:? 'i.pos' ( in 3-element array of 4-component vector of float Position)
0:14 Constant:
0:14 1 (const int)
0:14 move second child to first child ( temp 4-component vector of float)
@@ -181,15 +181,15 @@ output primitive = triangle_strip
0:14 Constant:
0:14 0 (const int)
0:14 direct index ( in 4-component vector of float Position)
0:? 'i_pos' ( in 3-element array of 4-component vector of float Position)
0:? 'i.pos' ( in 3-element array of 4-component vector of float Position)
0:14 Constant:
0:14 2 (const int)
0:14 Function Call: @main(struct-PS_IN-vf41[3];struct-GS_OUT-vf41; ( temp void)
0:? 'i' ( temp 3-element array of structure{ temp 4-component vector of float pos})
0:? 'ts' ( temp structure{ temp 4-component vector of float pos})
0:? Linker Objects
0:? 'i_pos' ( in 3-element array of 4-component vector of float Position)
0:? 'ts_pos' ( out 4-component vector of float Position)
0:? 'i.pos' ( in 3-element array of 4-component vector of float Position)
0:? 'ts.pos' ( out 4-component vector of float Position)
// Module Version 10000
// Generated by (magic number): 80001
@@ -214,14 +214,14 @@ output primitive = triangle_strip
Name 17 "ts"
Name 22 "x"
Name 33 "o"
Name 40 "ts_pos"
Name 40 "ts.pos"
Name 46 "i"
Name 49 "i_pos"
Name 49 "i.pos"
Name 61 "ts"
Name 62 "param"
Name 64 "param"
Decorate 40(ts_pos) BuiltIn Position
Decorate 49(i_pos) BuiltIn Position
Decorate 40(ts.pos) BuiltIn Position
Decorate 49(i.pos) BuiltIn Position
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@@ -241,11 +241,11 @@ output primitive = triangle_strip
31: TypeBool
35: TypePointer Function 7(fvec4)
39: TypePointer Output 7(fvec4)
40(ts_pos): 39(ptr) Variable Output
40(ts.pos): 39(ptr) Variable Output
44: 20(int) Constant 1
47: TypeArray 7(fvec4) 10
48: TypePointer Input 47
49(i_pos): 48(ptr) Variable Input
49(i.pos): 48(ptr) Variable Input
50: TypePointer Input 7(fvec4)
57: 20(int) Constant 2
4(main): 2 Function None 3
@@ -254,15 +254,15 @@ output primitive = triangle_strip
61(ts): 14(ptr) Variable Function
62(param): 12(ptr) Variable Function
64(param): 14(ptr) Variable Function
51: 50(ptr) AccessChain 49(i_pos) 23
51: 50(ptr) AccessChain 49(i.pos) 23
52: 7(fvec4) Load 51
53: 35(ptr) AccessChain 46(i) 23 23
Store 53 52
54: 50(ptr) AccessChain 49(i_pos) 44
54: 50(ptr) AccessChain 49(i.pos) 44
55: 7(fvec4) Load 54
56: 35(ptr) AccessChain 46(i) 44 23
Store 56 55
58: 50(ptr) AccessChain 49(i_pos) 57
58: 50(ptr) AccessChain 49(i.pos) 57
59: 7(fvec4) Load 58
60: 35(ptr) AccessChain 46(i) 57 23
Store 60 59
@@ -296,7 +296,7 @@ output primitive = triangle_strip
Store 38 37
41: 35(ptr) AccessChain 33(o) 23
42: 7(fvec4) Load 41
Store 40(ts_pos) 42
Store 40(ts.pos) 42
EmitVertex
Branch 27
27: Label