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

@@ -44,13 +44,13 @@ output primitive = line_strip
0:22 Sequence
0:22 Sequence
0:22 move second child to first child ( temp float)
0:? 'myfloat' (layout( location=0) out float)
0:? 'OutputStream.myfloat' (layout( location=0) out float)
0:22 myfloat: direct index for structure ( temp float)
0:22 'Vert' ( temp structure{ temp float myfloat, temp int something})
0:22 Constant:
0:22 0 (const int)
0:22 move second child to first child ( temp int)
0:? 'something' (layout( location=1) out int)
0:? 'OutputStream.something' (layout( location=1) out int)
0:22 something: direct index for structure ( temp int)
0:22 'Vert' ( temp structure{ temp float myfloat, temp int something})
0:22 Constant:
@@ -59,13 +59,13 @@ output primitive = line_strip
0:23 Sequence
0:23 Sequence
0:23 move second child to first child ( temp float)
0:? 'myfloat' (layout( location=0) out float)
0:? 'OutputStream.myfloat' (layout( location=0) out float)
0:23 myfloat: direct index for structure ( temp float)
0:23 'Vert' ( temp structure{ temp float myfloat, temp int something})
0:23 Constant:
0:23 0 (const int)
0:23 move second child to first child ( temp int)
0:? 'something' (layout( location=1) out int)
0:? 'OutputStream.something' (layout( location=1) out int)
0:23 something: direct index for structure ( temp int)
0:23 'Vert' ( temp structure{ temp float myfloat, temp int something})
0:23 Constant:
@@ -88,8 +88,8 @@ output primitive = line_strip
0:? Linker Objects
0:? 'VertexID' (layout( location=0) in 3-element array of uint)
0:? 'test' (layout( location=1) in 3-element array of uint)
0:? 'myfloat' (layout( location=0) out float)
0:? 'something' (layout( location=1) out int)
0:? 'OutputStream.myfloat' (layout( location=0) out float)
0:? 'OutputStream.something' (layout( location=1) out int)
Linked geometry stage:
@@ -140,13 +140,13 @@ output primitive = line_strip
0:22 Sequence
0:22 Sequence
0:22 move second child to first child ( temp float)
0:? 'myfloat' (layout( location=0) out float)
0:? 'OutputStream.myfloat' (layout( location=0) out float)
0:22 myfloat: direct index for structure ( temp float)
0:22 'Vert' ( temp structure{ temp float myfloat, temp int something})
0:22 Constant:
0:22 0 (const int)
0:22 move second child to first child ( temp int)
0:? 'something' (layout( location=1) out int)
0:? 'OutputStream.something' (layout( location=1) out int)
0:22 something: direct index for structure ( temp int)
0:22 'Vert' ( temp structure{ temp float myfloat, temp int something})
0:22 Constant:
@@ -155,13 +155,13 @@ output primitive = line_strip
0:23 Sequence
0:23 Sequence
0:23 move second child to first child ( temp float)
0:? 'myfloat' (layout( location=0) out float)
0:? 'OutputStream.myfloat' (layout( location=0) out float)
0:23 myfloat: direct index for structure ( temp float)
0:23 'Vert' ( temp structure{ temp float myfloat, temp int something})
0:23 Constant:
0:23 0 (const int)
0:23 move second child to first child ( temp int)
0:? 'something' (layout( location=1) out int)
0:? 'OutputStream.something' (layout( location=1) out int)
0:23 something: direct index for structure ( temp int)
0:23 'Vert' ( temp structure{ temp float myfloat, temp int something})
0:23 Constant:
@@ -184,8 +184,8 @@ output primitive = line_strip
0:? Linker Objects
0:? 'VertexID' (layout( location=0) in 3-element array of uint)
0:? 'test' (layout( location=1) in 3-element array of uint)
0:? 'myfloat' (layout( location=0) out float)
0:? 'something' (layout( location=1) out int)
0:? 'OutputStream.myfloat' (layout( location=0) out float)
0:? 'OutputStream.something' (layout( location=1) out int)
// Module Version 10000
// Generated by (magic number): 80001
@@ -209,8 +209,8 @@ output primitive = line_strip
Name 16 "test"
Name 17 "OutputStream"
Name 20 "Vert"
Name 42 "myfloat"
Name 46 "something"
Name 42 "OutputStream.myfloat"
Name 46 "OutputStream.something"
Name 53 "VertexID"
Name 55 "VertexID"
Name 57 "test"
@@ -219,8 +219,8 @@ output primitive = line_strip
Name 61 "param"
Name 63 "param"
Name 65 "param"
Decorate 42(myfloat) Location 0
Decorate 46(something) Location 1
Decorate 42(OutputStream.myfloat) Location 0
Decorate 46(OutputStream.something) Location 1
Decorate 55(VertexID) Location 0
Decorate 58(test) Location 1
2: TypeVoid
@@ -241,9 +241,9 @@ output primitive = line_strip
34: TypePointer Function 10(float)
39: TypePointer Function 11(int)
41: TypePointer Output 10(float)
42(myfloat): 41(ptr) Variable Output
42(OutputStream.myfloat): 41(ptr) Variable Output
45: TypePointer Output 11(int)
46(something): 45(ptr) Variable Output
46(OutputStream.something): 45(ptr) Variable Output
54: TypePointer Input 8
55(VertexID): 54(ptr) Variable Input
58(test): 54(ptr) Variable Input
@@ -292,17 +292,17 @@ output primitive = line_strip
Store 40 38
43: 34(ptr) AccessChain 20(Vert) 21
44: 10(float) Load 43
Store 42(myfloat) 44
Store 42(OutputStream.myfloat) 44
47: 39(ptr) AccessChain 20(Vert) 25
48: 11(int) Load 47
Store 46(something) 48
Store 46(OutputStream.something) 48
EmitVertex
49: 34(ptr) AccessChain 20(Vert) 21
50: 10(float) Load 49
Store 42(myfloat) 50
Store 42(OutputStream.myfloat) 50
51: 39(ptr) AccessChain 20(Vert) 25
52: 11(int) Load 51
Store 46(something) 52
Store 46(OutputStream.something) 52
EmitVertex
EndPrimitive
Return