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

@@ -46,7 +46,7 @@ gl_FragCoord origin is upper left
0:7 Constant:
0:7 1 (const int)
0:7 direct index ( in 4-component vector of float FragCoord)
0:? 'input_pos' ( in 3-element array of 4-component vector of float FragCoord)
0:? 'input.pos' ( in 3-element array of 4-component vector of float FragCoord)
0:7 Constant:
0:7 0 (const int)
0:7 move second child to first child ( temp float)
@@ -73,7 +73,7 @@ gl_FragCoord origin is upper left
0:7 Constant:
0:7 1 (const int)
0:7 direct index ( in 4-component vector of float FragCoord)
0:? 'input_pos' ( in 3-element array of 4-component vector of float FragCoord)
0:? 'input.pos' ( in 3-element array of 4-component vector of float FragCoord)
0:7 Constant:
0:7 1 (const int)
0:7 move second child to first child ( temp float)
@@ -100,7 +100,7 @@ gl_FragCoord origin is upper left
0:7 Constant:
0:7 1 (const int)
0:7 direct index ( in 4-component vector of float FragCoord)
0:? 'input_pos' ( in 3-element array of 4-component vector of float FragCoord)
0:? 'input.pos' ( in 3-element array of 4-component vector of float FragCoord)
0:7 Constant:
0:7 2 (const int)
0:7 move second child to first child ( temp 4-component vector of float)
@@ -111,7 +111,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:? 'i' (layout( location=0) flat in int)
0:? 'input_pos' ( in 3-element array of 4-component vector of float FragCoord)
0:? 'input.pos' ( in 3-element array of 4-component vector of float FragCoord)
0:? 'input' (layout( location=1) in 3-element array of structure{ temp float f})
@@ -165,7 +165,7 @@ gl_FragCoord origin is upper left
0:7 Constant:
0:7 1 (const int)
0:7 direct index ( in 4-component vector of float FragCoord)
0:? 'input_pos' ( in 3-element array of 4-component vector of float FragCoord)
0:? 'input.pos' ( in 3-element array of 4-component vector of float FragCoord)
0:7 Constant:
0:7 0 (const int)
0:7 move second child to first child ( temp float)
@@ -192,7 +192,7 @@ gl_FragCoord origin is upper left
0:7 Constant:
0:7 1 (const int)
0:7 direct index ( in 4-component vector of float FragCoord)
0:? 'input_pos' ( in 3-element array of 4-component vector of float FragCoord)
0:? 'input.pos' ( in 3-element array of 4-component vector of float FragCoord)
0:7 Constant:
0:7 1 (const int)
0:7 move second child to first child ( temp float)
@@ -219,7 +219,7 @@ gl_FragCoord origin is upper left
0:7 Constant:
0:7 1 (const int)
0:7 direct index ( in 4-component vector of float FragCoord)
0:? 'input_pos' ( in 3-element array of 4-component vector of float FragCoord)
0:? 'input.pos' ( in 3-element array of 4-component vector of float FragCoord)
0:7 Constant:
0:7 2 (const int)
0:7 move second child to first child ( temp 4-component vector of float)
@@ -230,7 +230,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:? 'i' (layout( location=0) flat in int)
0:? 'input_pos' ( in 3-element array of 4-component vector of float FragCoord)
0:? 'input.pos' ( in 3-element array of 4-component vector of float FragCoord)
0:? 'input' (layout( location=1) in 3-element array of structure{ temp float f})
// Module Version 10000
@@ -257,14 +257,14 @@ gl_FragCoord origin is upper left
Name 36 "S"
MemberName 36(S) 0 "f"
Name 39 "input"
Name 48 "input_pos"
Name 48 "input.pos"
Name 67 "@entryPointOutput"
Name 68 "param"
Name 70 "param"
Decorate 32(i) Flat
Decorate 32(i) Location 0
Decorate 39(input) Location 1
Decorate 48(input_pos) BuiltIn FragCoord
Decorate 48(input.pos) BuiltIn FragCoord
Decorate 67(@entryPointOutput) Location 0
2: TypeVoid
3: TypeFunction 2
@@ -294,7 +294,7 @@ gl_FragCoord origin is upper left
45: 6(int) Constant 1
46: TypeArray 9(fvec4) 12
47: TypePointer Input 46
48(input_pos): 47(ptr) Variable Input
48(input.pos): 47(ptr) Variable Input
49: TypePointer Input 9(fvec4)
59: 6(int) Constant 2
66: TypePointer Output 9(fvec4)
@@ -311,7 +311,7 @@ gl_FragCoord origin is upper left
42: 8(float) Load 41
44: 43(ptr) AccessChain 34(input) 35 35
Store 44 42
50: 49(ptr) AccessChain 48(input_pos) 35
50: 49(ptr) AccessChain 48(input.pos) 35
51: 9(fvec4) Load 50
52: 25(ptr) AccessChain 34(input) 35 45
Store 52 51
@@ -319,7 +319,7 @@ gl_FragCoord origin is upper left
54: 8(float) Load 53
55: 43(ptr) AccessChain 34(input) 45 35
Store 55 54
56: 49(ptr) AccessChain 48(input_pos) 45
56: 49(ptr) AccessChain 48(input.pos) 45
57: 9(fvec4) Load 56
58: 25(ptr) AccessChain 34(input) 45 45
Store 58 57
@@ -327,7 +327,7 @@ gl_FragCoord origin is upper left
61: 8(float) Load 60
62: 43(ptr) AccessChain 34(input) 59 35
Store 62 61
63: 49(ptr) AccessChain 48(input_pos) 59
63: 49(ptr) AccessChain 48(input.pos) 59
64: 9(fvec4) Load 63
65: 25(ptr) AccessChain 34(input) 59 45
Store 65 64