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
6f7a8ebf
Unverified
Commit
6f7a8ebf
authored
Feb 22, 2021
by
greg-lunarg
Committed by
GitHub
Feb 22, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2525 from ZhiqianXia/master
Cannot specify atomic counter with location.
parents
c8b95db6
5100efdf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ParseHelper.cpp
glslang/MachineIndependent/ParseHelper.cpp
+2
-0
No files found.
glslang/MachineIndependent/ParseHelper.cpp
View file @
6f7a8ebf
...
@@ -5769,6 +5769,8 @@ void TParseContext::layoutObjectCheck(const TSourceLoc& loc, const TSymbol& symb
...
@@ -5769,6 +5769,8 @@ void TParseContext::layoutObjectCheck(const TSourceLoc& loc, const TSymbol& symb
error
(
loc
,
"can only specify on a uniform block"
,
"push_constant"
,
""
);
error
(
loc
,
"can only specify on a uniform block"
,
"push_constant"
,
""
);
if
(
qualifier
.
isShaderRecord
())
if
(
qualifier
.
isShaderRecord
())
error
(
loc
,
"can only specify on a buffer block"
,
"shaderRecordNV"
,
""
);
error
(
loc
,
"can only specify on a buffer block"
,
"shaderRecordNV"
,
""
);
if
(
qualifier
.
hasLocation
()
&&
type
.
isAtomic
())
error
(
loc
,
"cannot specify on atomic counter"
,
"location"
,
""
);
}
}
break
;
break
;
default
:
default
:
...
...
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