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
48891674
Commit
48891674
authored
Jan 22, 2016
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SPV: Use a more accurate MemorySemanticsAllMemory mask.
parent
cd26144d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
spvIR.h
SPIRV/spvIR.h
+11
-1
spv.310.comp.out
Test/baseResults/spv.310.comp.out
+1
-1
spv.400.tesc.out
Test/baseResults/spv.400.tesc.out
+1
-1
No files found.
SPIRV/spvIR.h
View file @
48891674
...
...
@@ -70,7 +70,17 @@ const Id NoType = 0;
const
unsigned
int
BadValue
=
0xFFFFFFFF
;
const
Decoration
NoPrecision
=
(
Decoration
)
BadValue
;
const
MemorySemanticsMask
MemorySemanticsAllMemory
=
(
MemorySemanticsMask
)
0x3FF
;
const
MemorySemanticsMask
MemorySemanticsAllMemory
=
(
MemorySemanticsMask
)(
MemorySemanticsAcquireMask
|
MemorySemanticsReleaseMask
|
MemorySemanticsAcquireReleaseMask
|
MemorySemanticsSequentiallyConsistentMask
|
MemorySemanticsUniformMemoryMask
|
MemorySemanticsSubgroupMemoryMask
|
MemorySemanticsWorkgroupMemoryMask
|
MemorySemanticsCrossWorkgroupMemoryMask
|
MemorySemanticsAtomicCounterMemoryMask
|
MemorySemanticsImageMemoryMask
);
//
// SPIR-V IR instruction.
...
...
Test/baseResults/spv.310.comp.out
View file @
48891674
...
...
@@ -45,7 +45,7 @@ Linked compute stage:
3: TypeFunction 2
6: TypeInt 32 0
7: 6(int) Constant 1
8: 6(int) Constant
1023
8: 6(int) Constant
4062
9: 6(int) Constant 0
10: TypeFloat 32
11: TypeVector 10(float) 3
...
...
Test/baseResults/spv.400.tesc.out
View file @
48891674
...
...
@@ -71,7 +71,7 @@ Linked tessellation control stage:
3: TypeFunction 2
6: TypeInt 32 0
7: 6(int) Constant 1
8: 6(int) Constant
1023
8: 6(int) Constant
4062
9: 6(int) Constant 0
10: TypeInt 32 1
11: TypePointer Function 10(int)
...
...
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