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
361931c6
Unverified
Commit
361931c6
authored
Jul 15, 2019
by
John Kessenich
Committed by
GitHub
Jul 15, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1836 from amdrexu/bugfix
OpIsHelperInvocationEXT should declare relevant SPV extension and capability
parents
1a6e8534
bb7307b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
GlslangToSpv.cpp
SPIRV/GlslangToSpv.cpp
+3
-2
No files found.
SPIRV/GlslangToSpv.cpp
View file @
361931c6
...
@@ -7619,8 +7619,9 @@ spv::Id TGlslangToSpvTraverser::createNoArgOperation(glslang::TOperator op, spv:
...
@@ -7619,8 +7619,9 @@ spv::Id TGlslangToSpvTraverser::createNoArgOperation(glslang::TOperator op, spv:
case
glslang
:
:
EOpIsHelperInvocation
:
case
glslang
:
:
EOpIsHelperInvocation
:
{
{
std
::
vector
<
spv
::
Id
>
args
;
// Dummy arguments
std
::
vector
<
spv
::
Id
>
args
;
// Dummy arguments
spv
::
Id
id
=
builder
.
createOp
(
spv
::
OpIsHelperInvocationEXT
,
typeId
,
args
);
builder
.
addExtension
(
spv
::
E_SPV_EXT_demote_to_helper_invocation
);
return
id
;
builder
.
addCapability
(
spv
::
CapabilityDemoteToHelperInvocationEXT
);
return
builder
.
createOp
(
spv
::
OpIsHelperInvocationEXT
,
typeId
,
args
);
}
}
case
glslang
:
:
EOpReadClockSubgroupKHR
:
{
case
glslang
:
:
EOpReadClockSubgroupKHR
:
{
...
...
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