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:
Sajjad Mirza 2024-10-04 11:11:27 -07:00 committed by GitHub
parent 48f63fe4b3
commit f69d2768e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 7746 additions and 6750 deletions

View file

@ -10,7 +10,7 @@ hlsl.pp.line4.frag
ExecutionMode 5 OriginUpperLeft
1: String "hlsl.pp.line4.frag"
7: String "C:\\Users\\Greg\\shaders\\line\\foo4.frag"
32: String "C:\\Users\\Greg\\shaders\\line\\u1.h"
36: String "C:\\Users\\Greg\\shaders\\line\\u1.h"
Source HLSL 500 1 "// OpModuleProcessed auto-map-locations
// OpModuleProcessed auto-map-bindings
// OpModuleProcessed entry-point MainPs
@ -63,19 +63,19 @@ PS_OUTPUT MainPs ( PS_INPUT i )
"
Name 5 "MainPs"
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 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 48 "g_tColor"
Name 55 "g_sAniso"
Name 70 "i.vTextureCoords"
Name 74 "@entryPointOutput.vColor"
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 48(g_tColor) Binding 0
Decorate 48(g_tColor) DescriptorSet 0
Decorate 55(g_sAniso) Binding 1
@ -87,19 +87,19 @@ PS_OUTPUT MainPs ( PS_INPUT i )
8: TypeFloat 32
9: TypeVector 8(float) 2
12: TypeVector 8(float) 4
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
35: 22(int) Constant 0
39: 22(int) Constant 1
20: TypeInt 32 0
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
44: TypeImage 8(float) 2D sampled format:Unknown
45: 18(int) Constant 128
45: 20(int) Constant 128
46: TypeArray 44 45
47: TypePointer UniformConstant 46
48(g_tColor): 47(ptr) Variable UniformConstant
@ -119,23 +119,23 @@ PS_OUTPUT MainPs ( PS_INPUT i )
Line 7 25 0
71: 9(fvec2) Load 70(i.vTextureCoords)
Line 7 29 0
83: 24(ptr) AccessChain 21 23
84: 18(int) Load 83
85: 27(bool) INotEqual 84 28
83: 28(ptr) AccessChain 25 27
84: 20(int) Load 83
85: 31(bool) INotEqual 84 32
SelectionMerge 92 None
BranchConditional 85 86 89
86: Label
Line 32 1 0
87: 24(ptr) AccessChain 21 35
88: 18(int) Load 87
Line 36 1 0
87: 28(ptr) AccessChain 25 37
88: 20(int) Load 87
Branch 92
89: Label
Line 7 32 0
90: 24(ptr) AccessChain 21 39
91: 18(int) Load 90
90: 28(ptr) AccessChain 25 41
91: 20(int) Load 90
Branch 92
92: Label
115: 18(int) Phi 88 86 91 89
115: 20(int) Phi 88 86 91 89
Line 7 33 0
94: 50(ptr) AccessChain 48(g_tColor) 115
95: 44 Load 94