Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glslang
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
deqp-deps
glslang
Commits
3b656c79
Commit
3b656c79
authored
6 years ago
by
Alan Baker
Browse files
Options
Downloads
Patches
Plain Diff
Move memory model scope tests to Vulkan 1.1 batch
Fixes #1610 * Updated expected result due to version change
parent
6d178658
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Test/baseResults/spv.memoryScopeSemantics.comp.out
+66
-66
66 additions, 66 deletions
Test/baseResults/spv.memoryScopeSemantics.comp.out
gtests/Spv.FromFile.cpp
+2
-2
2 additions, 2 deletions
gtests/Spv.FromFile.cpp
with
68 additions
and
68 deletions
Test/baseResults/spv.memoryScopeSemantics.comp.out
+
66
−
66
View file @
3b656c79
spv.memoryScopeSemantics.comp
Validation failed
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 80007
// Id's are bound by 14
2
// Id's are bound by 14
3
Capability Shader
Capability Int64
...
...
@@ -40,36 +39,36 @@ Validation failed
Name 98 "BufferK"
MemberName 98(BufferK) 0 "x"
Name 100 "bufferk"
Name 10
9
"imagej"
Name 12
1
"samp"
Name 13
2
"atomu64"
Name 13
7
"atomi64"
Name 1
1
0 "imagej"
Name 12
2
"samp"
Name 13
3
"atomu64"
Name 13
8
"atomi64"
Decorate 36(imagei) DescriptorSet 0
Decorate 36(imagei) Binding 1
Decorate 45(imageu) DescriptorSet 0
Decorate 45(imageu) Binding 0
MemberDecorate 65(BufferU) 0 Offset 0
Decorate 65(BufferU)
Buffer
Block
Decorate 65(BufferU) Block
Decorate 67(bufferu) DescriptorSet 0
Decorate 67(bufferu) Binding 2
MemberDecorate 77(BufferI) 0 Offset 0
Decorate 77(BufferI)
Buffer
Block
Decorate 77(BufferI) Block
Decorate 79(bufferi) DescriptorSet 0
Decorate 79(bufferi) Binding 3
Decorate 82 ArrayStride 4
MemberDecorate 83(A) 0 Offset 0
MemberDecorate 84(BufferJ) 0 Offset 0
Decorate 84(BufferJ)
Buffer
Block
Decorate 84(BufferJ) Block
Decorate 87(bufferj) DescriptorSet 0
Decorate 87(bufferj) Binding 4
MemberDecorate 98(BufferK) 0 Offset 0
Decorate 98(BufferK) Block
Decorate 100(bufferk) DescriptorSet 0
Decorate 100(bufferk) Binding 7
Decorate 10
9
(imagej) DescriptorSet 0
Decorate 10
9
(imagej) Binding 5
Decorate 12
1
(samp) DescriptorSet 0
Decorate 12
1
(samp) Binding 6
Decorate 1
1
0(imagej) DescriptorSet 0
Decorate 1
1
0(imagej) Binding 5
Decorate 12
2
(samp) DescriptorSet 0
Decorate 12
2
(samp) Binding 6
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
...
...
@@ -111,47 +110,48 @@ Validation failed
61: 15(int) Constant 10
63: 15(int) Constant 322
65(BufferU): TypeStruct 15(int)
66: TypePointer
Uniform
65(BufferU)
67(bufferu): 66(ptr) Variable
Uniform
68: TypePointer
Uniform
15(int)
66: TypePointer
StorageBuffer
65(BufferU)
67(bufferu): 66(ptr) Variable
StorageBuffer
68: TypePointer
StorageBuffer
15(int)
70: 15(int) Constant 1
77(BufferI): TypeStruct 15(int)
78: TypePointer
Uniform
77(BufferI)
79(bufferi): 78(ptr) Variable
Uniform
78: TypePointer
StorageBuffer
77(BufferI)
79(bufferi): 78(ptr) Variable
StorageBuffer
82: TypeArray 15(int) 26
83(A): TypeStruct 82
84(BufferJ): TypeStruct 83(A)
85: TypeArray 84(BufferJ) 26
86: TypePointer
Uniform
85
87(bufferj): 86(ptr) Variable
Uniform
94: TypePointer
Uniform
83(A)
86: TypePointer
StorageBuffer
85
87(bufferj): 86(ptr) Variable
StorageBuffer
94: TypePointer
StorageBuffer
83(A)
98(BufferK): TypeStruct 15(int)
99: TypePointer Uniform 98(BufferK)
100(bufferk): 99(ptr) Variable Uniform
105: TypeVector 6(int) 4
107: TypeArray 34 26
108: TypePointer UniformConstant 107
109(imagej): 108(ptr) Variable UniformConstant
115: 105(ivec4) ConstantComposite 38 38 38 38
116: TypeFloat 32
117: TypeImage 116(float) 2D sampled format:Unknown
118: TypeSampledImage 117
119: TypeArray 118 26
120: TypePointer UniformConstant 119
121(samp): 120(ptr) Variable UniformConstant
122: TypePointer UniformConstant 118
125: TypeVector 116(float) 2
126: 116(float) Constant 0
127: 125(fvec2) ConstantComposite 126 126
128: TypeVector 116(float) 4
130: TypeInt 64 0
131: TypePointer Workgroup 130(int64_t)
132(atomu64): 131(ptr) Variable Workgroup
133:130(int64_t) Constant 7 0
135: TypeInt 64 1
136: TypePointer Workgroup 135(int64_t)
137(atomi64): 136(ptr) Variable Workgroup
138:135(int64_t) Constant 10 0
101: TypePointer Uniform 15(int)
106: TypeVector 6(int) 4
108: TypeArray 34 26
109: TypePointer UniformConstant 108
110(imagej): 109(ptr) Variable UniformConstant
116: 106(ivec4) ConstantComposite 38 38 38 38
117: TypeFloat 32
118: TypeImage 117(float) 2D sampled format:Unknown
119: TypeSampledImage 118
120: TypeArray 119 26
121: TypePointer UniformConstant 120
122(samp): 121(ptr) Variable UniformConstant
123: TypePointer UniformConstant 119
126: TypeVector 117(float) 2
127: 117(float) Constant 0
128: 126(fvec2) ConstantComposite 127 127
129: TypeVector 117(float) 4
131: TypeInt 64 0
132: TypePointer Workgroup 131(int64_t)
133(atomu64): 132(ptr) Variable Workgroup
134:131(int64_t) Constant 7 0
136: TypeInt 64 1
137: TypePointer Workgroup 136(int64_t)
138(atomi64): 137(ptr) Variable Workgroup
139:136(int64_t) Constant 10 0
4(main): 2 Function None 3
5: Label
8(origi): 7(ptr) Variable Function
...
...
@@ -216,25 +216,25 @@ Validation failed
96: 83(A) Load 95 Volatile MakePointerVisibleKHR NonPrivatePointerKHR 46
97: 94(ptr) AccessChain 87(bufferj) 38 38
Store 97 96 Volatile MakePointerAvailableKHR NonPrivatePointerKHR 46
10
1
:
68
(ptr) AccessChain 100(bufferk) 38
10
2
: 15(int) Load 10
1
NonPrivatePointerKHR
10
3
: 68(ptr) AccessChain 79(bufferi) 38
Store 10
3
10
2
MakePointerAvailableKHR NonPrivatePointerKHR 16
10
4
: 34 Load 36(imagei)
10
6
: 10
5
(ivec4) ImageRead 10
4
39 MakeTexelVisibleKHR NonPrivateTexelKHR VolatileTexelKHR 16
11
0
: 35(ptr) AccessChain 10
9
(imagej) 38
11
1
: 34 Load 11
0
11
2
: 10
5
(ivec4) ImageRead 11
1
39 NonPrivateTexelKHR
11
3
: 35(ptr) AccessChain 10
9
(imagej) 12
11
4
: 34 Load 11
3
ImageWrite 11
4
39 11
5
NonPrivateTexelKHR
12
3
: 12
2
(ptr) AccessChain 12
1
(samp) 38
12
4
: 11
8
Load 12
3
1
29
: 12
8
(fvec4) ImageSampleExplicitLod 12
4
12
7
Lod NonPrivateTexelKHR 12
6
13
4
:13
0
(int64_t) AtomicUMax 13
2
(atomu64) 12 17 13
3
Store 13
2
(atomu64) 13
4
MakePointerAvailableKHR NonPrivatePointerKHR 26
1
39
:13
0
(int64_t) Load 13
2
(atomu64) MakePointerVisibleKHR NonPrivatePointerKHR 26
14
0
:13
5
(int64_t) Bitcast 1
39
14
1
:13
5
(int64_t) AtomicCompareExchange 13
7
(atomi64) 12 63 63 14
0
13
8
10
2
:
101
(ptr) AccessChain 100(bufferk) 38
10
3
: 15(int) Load 10
2
NonPrivatePointerKHR
10
4
: 68(ptr) AccessChain 79(bufferi) 38
Store 10
4
10
3
MakePointerAvailableKHR NonPrivatePointerKHR 16
10
5
: 34 Load 36(imagei)
10
7
: 10
6
(ivec4) ImageRead 10
5
39 MakeTexelVisibleKHR NonPrivateTexelKHR VolatileTexelKHR 16
11
1
: 35(ptr) AccessChain 1
1
0(imagej) 38
11
2
: 34 Load 11
1
11
3
: 10
6
(ivec4) ImageRead 11
2
39 NonPrivateTexelKHR
11
4
: 35(ptr) AccessChain 1
1
0(imagej) 12
11
5
: 34 Load 11
4
ImageWrite 11
5
39 11
6
NonPrivateTexelKHR
12
4
: 12
3
(ptr) AccessChain 12
2
(samp) 38
12
5
: 11
9
Load 12
4
1
30
: 12
9
(fvec4) ImageSampleExplicitLod 12
5
12
8
Lod NonPrivateTexelKHR 12
7
13
5
:13
1
(int64_t) AtomicUMax 13
3
(atomu64) 12 17 13
4
Store 13
3
(atomu64) 13
5
MakePointerAvailableKHR NonPrivatePointerKHR 26
1
40
:13
1
(int64_t) Load 13
3
(atomu64) MakePointerVisibleKHR NonPrivatePointerKHR 26
14
1
:13
6
(int64_t) Bitcast 1
40
14
2
:13
6
(int64_t) AtomicCompareExchange 13
8
(atomi64) 12 63 63 14
1
13
9
Return
FunctionEnd
This diff is collapsed.
Click to expand it.
gtests/Spv.FromFile.cpp
+
2
−
2
View file @
3b656c79
...
...
@@ -304,8 +304,6 @@ INSTANTIATE_TEST_CASE_P(
"spv.matrix.frag"
,
"spv.matrix2.frag"
,
"spv.memoryQualifier.frag"
,
"spv.memoryScopeSemantics.comp"
,
"spv.memoryScopeSemantics_Error.comp"
,
"spv.merge-unreachable.frag"
,
"spv.multiStruct.comp"
,
"spv.multiStructFuncall.frag"
,
...
...
@@ -404,6 +402,8 @@ INSTANTIATE_TEST_CASE_P(
"spv.explicittypes.frag"
,
"spv.float32.frag"
,
"spv.float64.frag"
,
"spv.memoryScopeSemantics.comp"
,
"spv.memoryScopeSemantics_Error.comp"
,
"spv.multiView.frag"
,
"spv.RayGenShader11.rgen"
,
"spv.subgroup.frag"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment