Use line and column from node on DebugLexicalBlock.
* Fix bug in TestFixture.h, debug info gets enabled when nonsemantic debug info is requested.
This commit is contained in:
parent
48f63fe4b3
commit
f69d2768e5
21 changed files with 7746 additions and 6750 deletions
|
|
@ -10,8 +10,8 @@ hlsl.pp.line2.frag
|
|||
ExecutionMode 5 OriginUpperLeft
|
||||
1: String "hlsl.pp.line2.frag"
|
||||
7: String "foo.frag"
|
||||
32: String "foo.h"
|
||||
42: String "foo2.h"
|
||||
36: String "foo.h"
|
||||
44: String "foo2.h"
|
||||
Source HLSL 500 1 "// OpModuleProcessed auto-map-locations
|
||||
// OpModuleProcessed auto-map-bindings
|
||||
// OpModuleProcessed entry-point MainPs
|
||||
|
|
@ -68,23 +68,23 @@ PS_OUTPUT MainPs ( PS_INPUT i )
|
|||
MemberName 13(PS_OUTPUT) 0 "vColor"
|
||||
Name 16 "@MainPs(struct-PS_INPUT-vf21;"
|
||||
Name 15 "i"
|
||||
Name 19 "PerViewConstantBuffer_t"
|
||||
MemberName 19(PerViewConstantBuffer_t) 0 "g_nDataIdx"
|
||||
MemberName 19(PerViewConstantBuffer_t) 1 "g_nDataIdx2"
|
||||
MemberName 19(PerViewConstantBuffer_t) 2 "g_B"
|
||||
Name 21 ""
|
||||
Name 34 "u"
|
||||
Name 44 "ps_output"
|
||||
Name 19 "ps_output"
|
||||
Name 22 "u"
|
||||
Name 23 "PerViewConstantBuffer_t"
|
||||
MemberName 23(PerViewConstantBuffer_t) 0 "g_nDataIdx"
|
||||
MemberName 23(PerViewConstantBuffer_t) 1 "g_nDataIdx2"
|
||||
MemberName 23(PerViewConstantBuffer_t) 2 "g_B"
|
||||
Name 25 ""
|
||||
Name 49 "g_tColor"
|
||||
Name 56 "g_sAniso"
|
||||
Name 69 "i"
|
||||
Name 71 "i.vTextureCoords"
|
||||
Name 75 "@entryPointOutput.vColor"
|
||||
Name 76 "param"
|
||||
Decorate 19(PerViewConstantBuffer_t) Block
|
||||
MemberDecorate 19(PerViewConstantBuffer_t) 0 Offset 0
|
||||
MemberDecorate 19(PerViewConstantBuffer_t) 1 Offset 4
|
||||
MemberDecorate 19(PerViewConstantBuffer_t) 2 Offset 8
|
||||
Decorate 23(PerViewConstantBuffer_t) Block
|
||||
MemberDecorate 23(PerViewConstantBuffer_t) 0 Offset 0
|
||||
MemberDecorate 23(PerViewConstantBuffer_t) 1 Offset 4
|
||||
MemberDecorate 23(PerViewConstantBuffer_t) 2 Offset 8
|
||||
Decorate 49(g_tColor) Binding 0
|
||||
Decorate 49(g_tColor) DescriptorSet 0
|
||||
Decorate 56(g_sAniso) Binding 1
|
||||
|
|
@ -100,21 +100,21 @@ PS_OUTPUT MainPs ( PS_INPUT i )
|
|||
12: TypeVector 8(float) 4
|
||||
13(PS_OUTPUT): TypeStruct 12(fvec4)
|
||||
14: TypeFunction 13(PS_OUTPUT) 11(ptr)
|
||||
18: TypeInt 32 0
|
||||
19(PerViewConstantBuffer_t): TypeStruct 18(int) 18(int) 18(int)
|
||||
20: TypePointer PushConstant 19(PerViewConstantBuffer_t)
|
||||
21: 20(ptr) Variable PushConstant
|
||||
22: TypeInt 32 1
|
||||
23: 22(int) Constant 2
|
||||
24: TypePointer PushConstant 18(int)
|
||||
27: TypeBool
|
||||
28: 18(int) Constant 0
|
||||
33: TypePointer Function 18(int)
|
||||
35: 22(int) Constant 0
|
||||
39: 22(int) Constant 1
|
||||
43: TypePointer Function 13(PS_OUTPUT)
|
||||
18: TypePointer Function 13(PS_OUTPUT)
|
||||
20: TypeInt 32 0
|
||||
21: TypePointer Function 20(int)
|
||||
23(PerViewConstantBuffer_t): TypeStruct 20(int) 20(int) 20(int)
|
||||
24: TypePointer PushConstant 23(PerViewConstantBuffer_t)
|
||||
25: 24(ptr) Variable PushConstant
|
||||
26: TypeInt 32 1
|
||||
27: 26(int) Constant 2
|
||||
28: TypePointer PushConstant 20(int)
|
||||
31: TypeBool
|
||||
32: 20(int) Constant 0
|
||||
37: 26(int) Constant 0
|
||||
41: 26(int) Constant 1
|
||||
45: TypeImage 8(float) 2D sampled format:Unknown
|
||||
46: 18(int) Constant 128
|
||||
46: 20(int) Constant 128
|
||||
47: TypeArray 45 46
|
||||
48: TypePointer UniformConstant 47
|
||||
49(g_tColor): 48(ptr) Variable UniformConstant
|
||||
|
|
@ -136,7 +136,7 @@ PS_OUTPUT MainPs ( PS_INPUT i )
|
|||
76(param): 11(ptr) Variable Function
|
||||
Line 7 23 0
|
||||
72: 9(fvec2) Load 71(i.vTextureCoords)
|
||||
73: 60(ptr) AccessChain 69(i) 35
|
||||
73: 60(ptr) AccessChain 69(i) 37
|
||||
Store 73 72
|
||||
77:10(PS_INPUT) Load 69(i)
|
||||
Store 76(param) 77
|
||||
|
|
@ -149,39 +149,39 @@ PS_OUTPUT MainPs ( PS_INPUT i )
|
|||
16(@MainPs(struct-PS_INPUT-vf21;):13(PS_OUTPUT) Function None 14
|
||||
15(i): 11(ptr) FunctionParameter
|
||||
17: Label
|
||||
34(u): 33(ptr) Variable Function
|
||||
44(ps_output): 43(ptr) Variable Function
|
||||
19(ps_output): 18(ptr) Variable Function
|
||||
22(u): 21(ptr) Variable Function
|
||||
Line 7 47 0
|
||||
25: 24(ptr) AccessChain 21 23
|
||||
26: 18(int) Load 25
|
||||
29: 27(bool) INotEqual 26 28
|
||||
SelectionMerge 31 None
|
||||
BranchConditional 29 30 38
|
||||
30: Label
|
||||
Line 32 3 0
|
||||
36: 24(ptr) AccessChain 21 35
|
||||
37: 18(int) Load 36
|
||||
Store 34(u) 37
|
||||
Branch 31
|
||||
38: Label
|
||||
Line 32 67 0
|
||||
40: 24(ptr) AccessChain 21 39
|
||||
41: 18(int) Load 40
|
||||
Store 34(u) 41
|
||||
Branch 31
|
||||
31: Label
|
||||
Line 42 7 0
|
||||
50: 18(int) Load 34(u)
|
||||
29: 28(ptr) AccessChain 25 27
|
||||
30: 20(int) Load 29
|
||||
33: 31(bool) INotEqual 30 32
|
||||
SelectionMerge 35 None
|
||||
BranchConditional 33 34 40
|
||||
34: Label
|
||||
Line 36 3 0
|
||||
38: 28(ptr) AccessChain 25 37
|
||||
39: 20(int) Load 38
|
||||
Store 22(u) 39
|
||||
Branch 35
|
||||
40: Label
|
||||
Line 36 67 0
|
||||
42: 28(ptr) AccessChain 25 41
|
||||
43: 20(int) Load 42
|
||||
Store 22(u) 43
|
||||
Branch 35
|
||||
35: Label
|
||||
Line 44 7 0
|
||||
50: 20(int) Load 22(u)
|
||||
52: 51(ptr) AccessChain 49(g_tColor) 50
|
||||
53: 45 Load 52
|
||||
57: 54 Load 56(g_sAniso)
|
||||
59: 58 SampledImage 53 57
|
||||
61: 60(ptr) AccessChain 15(i) 35
|
||||
61: 60(ptr) AccessChain 15(i) 37
|
||||
62: 9(fvec2) Load 61
|
||||
63: 12(fvec4) ImageSampleImplicitLod 59 62
|
||||
65: 64(ptr) AccessChain 44(ps_output) 35
|
||||
65: 64(ptr) AccessChain 19(ps_output) 37
|
||||
Store 65 63
|
||||
Line 42 105 0
|
||||
66:13(PS_OUTPUT) Load 44(ps_output)
|
||||
Line 44 105 0
|
||||
66:13(PS_OUTPUT) Load 19(ps_output)
|
||||
ReturnValue 66
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue