Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
3b656c79
Commit
3b656c79
authored
Dec 17, 2018
by
Alan Baker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move memory model scope tests to Vulkan 1.1 batch
Fixes #1610 * Updated expected result due to version change
parent
6d178658
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
68 deletions
+68
-68
spv.memoryScopeSemantics.comp.out
Test/baseResults/spv.memoryScopeSemantics.comp.out
+66
-66
Spv.FromFile.cpp
gtests/Spv.FromFile.cpp
+2
-2
No files found.
Test/baseResults/spv.memoryScopeSemantics.comp.out
View file @
3b656c79
spv.memoryScopeSemantics.comp
spv.memoryScopeSemantics.comp
Validation failed
// Module Version 10300
// Module Version 10000
// Generated by (magic number): 80007
// Generated by (magic number): 80007
// Id's are bound by 14
2
// Id's are bound by 14
3
Capability Shader
Capability Shader
Capability Int64
Capability Int64
...
@@ -40,36 +39,36 @@ Validation failed
...
@@ -40,36 +39,36 @@ Validation failed
Name 98 "BufferK"
Name 98 "BufferK"
MemberName 98(BufferK) 0 "x"
MemberName 98(BufferK) 0 "x"
Name 100 "bufferk"
Name 100 "bufferk"
Name 1
09
"imagej"
Name 1
10
"imagej"
Name 12
1
"samp"
Name 12
2
"samp"
Name 13
2
"atomu64"
Name 13
3
"atomu64"
Name 13
7
"atomi64"
Name 13
8
"atomi64"
Decorate 36(imagei) DescriptorSet 0
Decorate 36(imagei) DescriptorSet 0
Decorate 36(imagei) Binding 1
Decorate 36(imagei) Binding 1
Decorate 45(imageu) DescriptorSet 0
Decorate 45(imageu) DescriptorSet 0
Decorate 45(imageu) Binding 0
Decorate 45(imageu) Binding 0
MemberDecorate 65(BufferU) 0 Offset 0
MemberDecorate 65(BufferU) 0 Offset 0
Decorate 65(BufferU) B
ufferB
lock
Decorate 65(BufferU) Block
Decorate 67(bufferu) DescriptorSet 0
Decorate 67(bufferu) DescriptorSet 0
Decorate 67(bufferu) Binding 2
Decorate 67(bufferu) Binding 2
MemberDecorate 77(BufferI) 0 Offset 0
MemberDecorate 77(BufferI) 0 Offset 0
Decorate 77(BufferI) B
ufferB
lock
Decorate 77(BufferI) Block
Decorate 79(bufferi) DescriptorSet 0
Decorate 79(bufferi) DescriptorSet 0
Decorate 79(bufferi) Binding 3
Decorate 79(bufferi) Binding 3
Decorate 82 ArrayStride 4
Decorate 82 ArrayStride 4
MemberDecorate 83(A) 0 Offset 0
MemberDecorate 83(A) 0 Offset 0
MemberDecorate 84(BufferJ) 0 Offset 0
MemberDecorate 84(BufferJ) 0 Offset 0
Decorate 84(BufferJ) B
ufferB
lock
Decorate 84(BufferJ) Block
Decorate 87(bufferj) DescriptorSet 0
Decorate 87(bufferj) DescriptorSet 0
Decorate 87(bufferj) Binding 4
Decorate 87(bufferj) Binding 4
MemberDecorate 98(BufferK) 0 Offset 0
MemberDecorate 98(BufferK) 0 Offset 0
Decorate 98(BufferK) Block
Decorate 98(BufferK) Block
Decorate 100(bufferk) DescriptorSet 0
Decorate 100(bufferk) DescriptorSet 0
Decorate 100(bufferk) Binding 7
Decorate 100(bufferk) Binding 7
Decorate 1
09
(imagej) DescriptorSet 0
Decorate 1
10
(imagej) DescriptorSet 0
Decorate 1
09
(imagej) Binding 5
Decorate 1
10
(imagej) Binding 5
Decorate 12
1
(samp) DescriptorSet 0
Decorate 12
2
(samp) DescriptorSet 0
Decorate 12
1
(samp) Binding 6
Decorate 12
2
(samp) Binding 6
2: TypeVoid
2: TypeVoid
3: TypeFunction 2
3: TypeFunction 2
6: TypeInt 32 1
6: TypeInt 32 1
...
@@ -111,47 +110,48 @@ Validation failed
...
@@ -111,47 +110,48 @@ Validation failed
61: 15(int) Constant 10
61: 15(int) Constant 10
63: 15(int) Constant 322
63: 15(int) Constant 322
65(BufferU): TypeStruct 15(int)
65(BufferU): TypeStruct 15(int)
66: TypePointer
Uniform
65(BufferU)
66: TypePointer
StorageBuffer
65(BufferU)
67(bufferu): 66(ptr) Variable
Uniform
67(bufferu): 66(ptr) Variable
StorageBuffer
68: TypePointer
Uniform
15(int)
68: TypePointer
StorageBuffer
15(int)
70: 15(int) Constant 1
70: 15(int) Constant 1
77(BufferI): TypeStruct 15(int)
77(BufferI): TypeStruct 15(int)
78: TypePointer
Uniform
77(BufferI)
78: TypePointer
StorageBuffer
77(BufferI)
79(bufferi): 78(ptr) Variable
Uniform
79(bufferi): 78(ptr) Variable
StorageBuffer
82: TypeArray 15(int) 26
82: TypeArray 15(int) 26
83(A): TypeStruct 82
83(A): TypeStruct 82
84(BufferJ): TypeStruct 83(A)
84(BufferJ): TypeStruct 83(A)
85: TypeArray 84(BufferJ) 26
85: TypeArray 84(BufferJ) 26
86: TypePointer
Uniform
85
86: TypePointer
StorageBuffer
85
87(bufferj): 86(ptr) Variable
Uniform
87(bufferj): 86(ptr) Variable
StorageBuffer
94: TypePointer
Uniform
83(A)
94: TypePointer
StorageBuffer
83(A)
98(BufferK): TypeStruct 15(int)
98(BufferK): TypeStruct 15(int)
99: TypePointer Uniform 98(BufferK)
99: TypePointer Uniform 98(BufferK)
100(bufferk): 99(ptr) Variable Uniform
100(bufferk): 99(ptr) Variable Uniform
105: TypeVector 6(int) 4
101: TypePointer Uniform 15(int)
107: TypeArray 34 26
106: TypeVector 6(int) 4
108: TypePointer UniformConstant 107
108: TypeArray 34 26
109(imagej): 108(ptr) Variable UniformConstant
109: TypePointer UniformConstant 108
115: 105(ivec4) ConstantComposite 38 38 38 38
110(imagej): 109(ptr) Variable UniformConstant
116: TypeFloat 32
116: 106(ivec4) ConstantComposite 38 38 38 38
117: TypeImage 116(float) 2D sampled format:Unknown
117: TypeFloat 32
118: TypeSampledImage 117
118: TypeImage 117(float) 2D sampled format:Unknown
119: TypeArray 118 26
119: TypeSampledImage 118
120: TypePointer UniformConstant 119
120: TypeArray 119 26
121(samp): 120(ptr) Variable UniformConstant
121: TypePointer UniformConstant 120
122: TypePointer UniformConstant 118
122(samp): 121(ptr) Variable UniformConstant
125: TypeVector 116(float) 2
123: TypePointer UniformConstant 119
126: 116(float) Constant 0
126: TypeVector 117(float) 2
127: 125(fvec2) ConstantComposite 126 126
127: 117(float) Constant 0
128: TypeVector 116(float) 4
128: 126(fvec2) ConstantComposite 127 127
130: TypeInt 64 0
129: TypeVector 117(float) 4
131: TypePointer Workgroup 130(int64_t)
131: TypeInt 64 0
132(atomu64): 131(ptr) Variable Workgroup
132: TypePointer Workgroup 131(int64_t)
133:130(int64_t) Constant 7 0
133(atomu64): 132(ptr) Variable Workgroup
135: TypeInt 64 1
134:131(int64_t) Constant 7 0
136: TypePointer Workgroup 135(int64_t)
136: TypeInt 64 1
137(atomi64): 136(ptr) Variable Workgroup
137: TypePointer Workgroup 136(int64_t)
138:135(int64_t) Constant 10 0
138(atomi64): 137(ptr) Variable Workgroup
139:136(int64_t) Constant 10 0
4(main): 2 Function None 3
4(main): 2 Function None 3
5: Label
5: Label
8(origi): 7(ptr) Variable Function
8(origi): 7(ptr) Variable Function
...
@@ -216,25 +216,25 @@ Validation failed
...
@@ -216,25 +216,25 @@ Validation failed
96: 83(A) Load 95 Volatile MakePointerVisibleKHR NonPrivatePointerKHR 46
96: 83(A) Load 95 Volatile MakePointerVisibleKHR NonPrivatePointerKHR 46
97: 94(ptr) AccessChain 87(bufferj) 38 38
97: 94(ptr) AccessChain 87(bufferj) 38 38
Store 97 96 Volatile MakePointerAvailableKHR NonPrivatePointerKHR 46
Store 97 96 Volatile MakePointerAvailableKHR NonPrivatePointerKHR 46
10
1: 68
(ptr) AccessChain 100(bufferk) 38
10
2: 101
(ptr) AccessChain 100(bufferk) 38
10
2: 15(int) Load 101
NonPrivatePointerKHR
10
3: 15(int) Load 102
NonPrivatePointerKHR
10
3
: 68(ptr) AccessChain 79(bufferi) 38
10
4
: 68(ptr) AccessChain 79(bufferi) 38
Store 10
3 102
MakePointerAvailableKHR NonPrivatePointerKHR 16
Store 10
4 103
MakePointerAvailableKHR NonPrivatePointerKHR 16
10
4
: 34 Load 36(imagei)
10
5
: 34 Load 36(imagei)
10
6: 105(ivec4) ImageRead 104
39 MakeTexelVisibleKHR NonPrivateTexelKHR VolatileTexelKHR 16
10
7: 106(ivec4) ImageRead 105
39 MakeTexelVisibleKHR NonPrivateTexelKHR VolatileTexelKHR 16
11
0: 35(ptr) AccessChain 109
(imagej) 38
11
1: 35(ptr) AccessChain 110
(imagej) 38
11
1: 34 Load 110
11
2: 34 Load 111
11
2: 105(ivec4) ImageRead 111
39 NonPrivateTexelKHR
11
3: 106(ivec4) ImageRead 112
39 NonPrivateTexelKHR
11
3: 35(ptr) AccessChain 109
(imagej) 12
11
4: 35(ptr) AccessChain 110
(imagej) 12
11
4: 34 Load 113
11
5: 34 Load 114
ImageWrite 11
4 39 115
NonPrivateTexelKHR
ImageWrite 11
5 39 116
NonPrivateTexelKHR
12
3: 122(ptr) AccessChain 121
(samp) 38
12
4: 123(ptr) AccessChain 122
(samp) 38
12
4: 118 Load 123
12
5: 119 Load 124
1
29: 128(fvec4) ImageSampleExplicitLod 124 127 Lod NonPrivateTexelKHR 126
1
30: 129(fvec4) ImageSampleExplicitLod 125 128 Lod NonPrivateTexelKHR 127
13
4:130(int64_t) AtomicUMax 132(atomu64) 12 17 133
13
5:131(int64_t) AtomicUMax 133(atomu64) 12 17 134
Store 13
2(atomu64) 134
MakePointerAvailableKHR NonPrivatePointerKHR 26
Store 13
3(atomu64) 135
MakePointerAvailableKHR NonPrivatePointerKHR 26
1
39:130(int64_t) Load 132
(atomu64) MakePointerVisibleKHR NonPrivatePointerKHR 26
1
40:131(int64_t) Load 133
(atomu64) MakePointerVisibleKHR NonPrivatePointerKHR 26
14
0:135(int64_t) Bitcast 139
14
1:136(int64_t) Bitcast 140
14
1:135(int64_t) AtomicCompareExchange 137(atomi64) 12 63 63 140 138
14
2:136(int64_t) AtomicCompareExchange 138(atomi64) 12 63 63 141 139
Return
Return
FunctionEnd
FunctionEnd
gtests/Spv.FromFile.cpp
View file @
3b656c79
...
@@ -304,8 +304,6 @@ INSTANTIATE_TEST_CASE_P(
...
@@ -304,8 +304,6 @@ INSTANTIATE_TEST_CASE_P(
"spv.matrix.frag"
,
"spv.matrix.frag"
,
"spv.matrix2.frag"
,
"spv.matrix2.frag"
,
"spv.memoryQualifier.frag"
,
"spv.memoryQualifier.frag"
,
"spv.memoryScopeSemantics.comp"
,
"spv.memoryScopeSemantics_Error.comp"
,
"spv.merge-unreachable.frag"
,
"spv.merge-unreachable.frag"
,
"spv.multiStruct.comp"
,
"spv.multiStruct.comp"
,
"spv.multiStructFuncall.frag"
,
"spv.multiStructFuncall.frag"
,
...
@@ -404,6 +402,8 @@ INSTANTIATE_TEST_CASE_P(
...
@@ -404,6 +402,8 @@ INSTANTIATE_TEST_CASE_P(
"spv.explicittypes.frag"
,
"spv.explicittypes.frag"
,
"spv.float32.frag"
,
"spv.float32.frag"
,
"spv.float64.frag"
,
"spv.float64.frag"
,
"spv.memoryScopeSemantics.comp"
,
"spv.memoryScopeSemantics_Error.comp"
,
"spv.multiView.frag"
,
"spv.multiView.frag"
,
"spv.RayGenShader11.rgen"
,
"spv.RayGenShader11.rgen"
,
"spv.subgroup.frag"
,
"spv.subgroup.frag"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment