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
|
|
@ -61,7 +61,7 @@ Shader version: 500
|
|||
0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 3-component vector of float clip0, temp float clip1})
|
||||
0:8 Function Call: @main( ( temp structure{ temp 4-component vector of float Position, temp 3-component vector of float clip0, temp float clip1})
|
||||
0:8 move second child to first child ( temp 4-component vector of float)
|
||||
0:? '@entryPointOutput_Position' ( out 4-component vector of float Position)
|
||||
0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
|
||||
0:8 Position: direct index for structure ( temp 4-component vector of float)
|
||||
0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 3-component vector of float clip0, temp float clip1})
|
||||
0:8 Constant:
|
||||
|
|
@ -69,7 +69,7 @@ Shader version: 500
|
|||
0:? Sequence
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 4-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 0 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -81,7 +81,7 @@ Shader version: 500
|
|||
0:8 0 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 4-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 1 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -93,7 +93,7 @@ Shader version: 500
|
|||
0:8 1 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 4-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 2 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -106,7 +106,7 @@ Shader version: 500
|
|||
0:? Sequence
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 4-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 3 (const int)
|
||||
0:8 clip1: direct index for structure ( temp float)
|
||||
|
|
@ -114,8 +114,8 @@ Shader version: 500
|
|||
0:8 Constant:
|
||||
0:8 2 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput_Position' ( out 4-component vector of float Position)
|
||||
0:? '@entryPointOutput_clip1' ( out 4-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
|
||||
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
|
|
@ -183,7 +183,7 @@ Shader version: 500
|
|||
0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 3-component vector of float clip0, temp float clip1})
|
||||
0:8 Function Call: @main( ( temp structure{ temp 4-component vector of float Position, temp 3-component vector of float clip0, temp float clip1})
|
||||
0:8 move second child to first child ( temp 4-component vector of float)
|
||||
0:? '@entryPointOutput_Position' ( out 4-component vector of float Position)
|
||||
0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
|
||||
0:8 Position: direct index for structure ( temp 4-component vector of float)
|
||||
0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 3-component vector of float clip0, temp float clip1})
|
||||
0:8 Constant:
|
||||
|
|
@ -191,7 +191,7 @@ Shader version: 500
|
|||
0:? Sequence
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 4-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 0 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -203,7 +203,7 @@ Shader version: 500
|
|||
0:8 0 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 4-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 1 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -215,7 +215,7 @@ Shader version: 500
|
|||
0:8 1 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 4-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 2 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -228,7 +228,7 @@ Shader version: 500
|
|||
0:? Sequence
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 4-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 3 (const int)
|
||||
0:8 clip1: direct index for structure ( temp float)
|
||||
|
|
@ -236,8 +236,8 @@ Shader version: 500
|
|||
0:8 Constant:
|
||||
0:8 2 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput_Position' ( out 4-component vector of float Position)
|
||||
0:? '@entryPointOutput_clip1' ( out 4-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
|
||||
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
|
@ -257,10 +257,10 @@ Shader version: 500
|
|||
Name 11 "@main("
|
||||
Name 14 "Output"
|
||||
Name 38 "flattenTemp"
|
||||
Name 41 "@entryPointOutput_Position"
|
||||
Name 47 "@entryPointOutput_clip1"
|
||||
Decorate 41(@entryPointOutput_Position) BuiltIn Position
|
||||
Decorate 47(@entryPointOutput_clip1) BuiltIn ClipDistance
|
||||
Name 41 "@entryPointOutput.Position"
|
||||
Name 47 "@entryPointOutput.clip1"
|
||||
Decorate 41(@entryPointOutput.Position) BuiltIn Position
|
||||
Decorate 47(@entryPointOutput.clip1) BuiltIn ClipDistance
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
|
@ -285,11 +285,11 @@ Shader version: 500
|
|||
32: 15(int) Constant 2
|
||||
33: 6(float) Constant 1077936128
|
||||
40: TypePointer Output 7(fvec4)
|
||||
41(@entryPointOutput_Position): 40(ptr) Variable Output
|
||||
41(@entryPointOutput.Position): 40(ptr) Variable Output
|
||||
44: 22(int) Constant 4
|
||||
45: TypeArray 6(float) 44
|
||||
46: TypePointer Output 45
|
||||
47(@entryPointOutput_clip1): 46(ptr) Variable Output
|
||||
47(@entryPointOutput.clip1): 46(ptr) Variable Output
|
||||
50: TypePointer Output 6(float)
|
||||
58: 15(int) Constant 3
|
||||
4(main): 2 Function None 3
|
||||
|
|
@ -299,22 +299,22 @@ Shader version: 500
|
|||
Store 38(flattenTemp) 39
|
||||
42: 19(ptr) AccessChain 38(flattenTemp) 16
|
||||
43: 7(fvec4) Load 42
|
||||
Store 41(@entryPointOutput_Position) 43
|
||||
Store 41(@entryPointOutput.Position) 43
|
||||
48: 24(ptr) AccessChain 38(flattenTemp) 21 23
|
||||
49: 6(float) Load 48
|
||||
51: 50(ptr) AccessChain 47(@entryPointOutput_clip1) 16
|
||||
51: 50(ptr) AccessChain 47(@entryPointOutput.clip1) 16
|
||||
Store 51 49
|
||||
52: 24(ptr) AccessChain 38(flattenTemp) 21 27
|
||||
53: 6(float) Load 52
|
||||
54: 50(ptr) AccessChain 47(@entryPointOutput_clip1) 21
|
||||
54: 50(ptr) AccessChain 47(@entryPointOutput.clip1) 21
|
||||
Store 54 53
|
||||
55: 24(ptr) AccessChain 38(flattenTemp) 21 30
|
||||
56: 6(float) Load 55
|
||||
57: 50(ptr) AccessChain 47(@entryPointOutput_clip1) 32
|
||||
57: 50(ptr) AccessChain 47(@entryPointOutput.clip1) 32
|
||||
Store 57 56
|
||||
59: 24(ptr) AccessChain 38(flattenTemp) 32
|
||||
60: 6(float) Load 59
|
||||
61: 50(ptr) AccessChain 47(@entryPointOutput_clip1) 58
|
||||
61: 50(ptr) AccessChain 47(@entryPointOutput.clip1) 58
|
||||
Store 61 60
|
||||
Return
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue