HLSL: Move debug naming to a simpler, more consistent, scheme.
This will help in expanding flattening and reducing splitting.
This commit is contained in:
parent
3322dd8f99
commit
e516d4335f
138 changed files with 2276 additions and 2278 deletions
|
|
@ -49,7 +49,7 @@ output primitive = triangle_strip
|
|||
0:22 Sequence
|
||||
0:22 Sequence
|
||||
0:22 move second child to first child ( temp 4-component vector of float)
|
||||
0:? 'outStream_position' ( out 4-component vector of float Position)
|
||||
0:? 'outStream.position' ( out 4-component vector of float Position)
|
||||
0:22 position: direct index for structure ( temp 4-component vector of float)
|
||||
0:22 'vout' ( temp structure{ temp 4-component vector of float position, temp 4-component vector of float color, temp 2-component vector of float uv})
|
||||
0:22 Constant:
|
||||
|
|
@ -84,7 +84,7 @@ output primitive = triangle_strip
|
|||
0:? 'outStream' ( temp structure{ temp 4-component vector of float position, temp 4-component vector of float color, temp 2-component vector of float uv})
|
||||
0:? Linker Objects
|
||||
0:? 'vin' (layout( location=0) in 2-element array of structure{ temp 4-component vector of float position, temp 4-component vector of float color, temp 2-component vector of float uv})
|
||||
0:? 'outStream_position' ( out 4-component vector of float Position)
|
||||
0:? 'outStream.position' ( out 4-component vector of float Position)
|
||||
0:? 'outStream' (layout( location=0) out structure{ temp 4-component vector of float color, temp 2-component vector of float uv})
|
||||
|
||||
|
||||
|
|
@ -141,7 +141,7 @@ output primitive = triangle_strip
|
|||
0:22 Sequence
|
||||
0:22 Sequence
|
||||
0:22 move second child to first child ( temp 4-component vector of float)
|
||||
0:? 'outStream_position' ( out 4-component vector of float Position)
|
||||
0:? 'outStream.position' ( out 4-component vector of float Position)
|
||||
0:22 position: direct index for structure ( temp 4-component vector of float)
|
||||
0:22 'vout' ( temp structure{ temp 4-component vector of float position, temp 4-component vector of float color, temp 2-component vector of float uv})
|
||||
0:22 Constant:
|
||||
|
|
@ -176,7 +176,7 @@ output primitive = triangle_strip
|
|||
0:? 'outStream' ( temp structure{ temp 4-component vector of float position, temp 4-component vector of float color, temp 2-component vector of float uv})
|
||||
0:? Linker Objects
|
||||
0:? 'vin' (layout( location=0) in 2-element array of structure{ temp 4-component vector of float position, temp 4-component vector of float color, temp 2-component vector of float uv})
|
||||
0:? 'outStream_position' ( out 4-component vector of float Position)
|
||||
0:? 'outStream.position' ( out 4-component vector of float Position)
|
||||
0:? 'outStream' (layout( location=0) out structure{ temp 4-component vector of float color, temp 2-component vector of float uv})
|
||||
|
||||
// Module Version 10000
|
||||
|
|
@ -205,7 +205,7 @@ output primitive = triangle_strip
|
|||
Name 17 "vin"
|
||||
Name 18 "outStream"
|
||||
Name 21 "vout"
|
||||
Name 38 "outStream_position"
|
||||
Name 38 "outStream.position"
|
||||
Name 41 "PS_IN"
|
||||
MemberName 41(PS_IN) 0 "color"
|
||||
MemberName 41(PS_IN) 1 "uv"
|
||||
|
|
@ -215,7 +215,7 @@ output primitive = triangle_strip
|
|||
Name 55 "outStream"
|
||||
Name 56 "param"
|
||||
Name 58 "param"
|
||||
Decorate 38(outStream_position) BuiltIn Position
|
||||
Decorate 38(outStream.position) BuiltIn Position
|
||||
Decorate 43(outStream) Location 0
|
||||
Decorate 53(vin) Location 0
|
||||
2: TypeVoid
|
||||
|
|
@ -238,7 +238,7 @@ output primitive = triangle_strip
|
|||
29: TypePointer Function 8(fvec2)
|
||||
33: 22(int) Constant 0
|
||||
37: TypePointer Output 7(fvec4)
|
||||
38(outStream_position): 37(ptr) Variable Output
|
||||
38(outStream.position): 37(ptr) Variable Output
|
||||
41(PS_IN): TypeStruct 7(fvec4) 8(fvec2)
|
||||
42: TypePointer Output 41(PS_IN)
|
||||
43(outStream): 42(ptr) Variable Output
|
||||
|
|
@ -279,7 +279,7 @@ output primitive = triangle_strip
|
|||
Store 36 35
|
||||
39: 24(ptr) AccessChain 21(vout) 33
|
||||
40: 7(fvec4) Load 39
|
||||
Store 38(outStream_position) 40
|
||||
Store 38(outStream.position) 40
|
||||
44: 24(ptr) AccessChain 21(vout) 23
|
||||
45: 7(fvec4) Load 44
|
||||
46: 37(ptr) AccessChain 43(outStream) 33
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue