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
d122a728
Commit
d122a728
authored
Sep 18, 2018
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build: Fix some warnings.
parent
b4a598ba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
GlslangToSpv.cpp
SPIRV/GlslangToSpv.cpp
+3
-3
No files found.
SPIRV/GlslangToSpv.cpp
View file @
d122a728
...
@@ -5706,7 +5706,7 @@ spv::Id TGlslangToSpvTraverser::createInvocationsOperation(glslang::TOperator op
...
@@ -5706,7 +5706,7 @@ spv::Id TGlslangToSpvTraverser::createInvocationsOperation(glslang::TOperator op
spv
::
IdImmediate
scope
=
{
true
,
builder
.
makeUintConstant
(
spv
::
ScopeSubgroup
)
};
spv
::
IdImmediate
scope
=
{
true
,
builder
.
makeUintConstant
(
spv
::
ScopeSubgroup
)
};
spvGroupOperands
.
push_back
(
scope
);
spvGroupOperands
.
push_back
(
scope
);
if
(
groupOperation
!=
spv
::
GroupOperationMax
)
{
if
(
groupOperation
!=
spv
::
GroupOperationMax
)
{
spv
::
IdImmediate
groupOp
=
{
false
,
groupOperation
};
spv
::
IdImmediate
groupOp
=
{
false
,
(
unsigned
)
groupOperation
};
spvGroupOperands
.
push_back
(
groupOp
);
spvGroupOperands
.
push_back
(
groupOp
);
}
}
#endif
#endif
...
@@ -5903,7 +5903,7 @@ spv::Id TGlslangToSpvTraverser::CreateInvocationsVectorOperation(spv::Op op, spv
...
@@ -5903,7 +5903,7 @@ spv::Id TGlslangToSpvTraverser::CreateInvocationsVectorOperation(spv::Op op, spv
}
else
{
}
else
{
spv
::
IdImmediate
scope
=
{
true
,
builder
.
makeUintConstant
(
spv
::
ScopeSubgroup
)
};
spv
::
IdImmediate
scope
=
{
true
,
builder
.
makeUintConstant
(
spv
::
ScopeSubgroup
)
};
spvGroupOperands
.
push_back
(
scope
);
spvGroupOperands
.
push_back
(
scope
);
spv
::
IdImmediate
groupOp
=
{
false
,
groupOperation
};
spv
::
IdImmediate
groupOp
=
{
false
,
(
unsigned
)
groupOperation
};
spvGroupOperands
.
push_back
(
groupOp
);
spvGroupOperands
.
push_back
(
groupOp
);
spvGroupOperands
.
push_back
(
scalar
);
spvGroupOperands
.
push_back
(
scalar
);
}
}
...
@@ -6249,7 +6249,7 @@ spv::Id TGlslangToSpvTraverser::createSubgroupOperation(glslang::TOperator op, s
...
@@ -6249,7 +6249,7 @@ spv::Id TGlslangToSpvTraverser::createSubgroupOperation(glslang::TOperator op, s
// Next, for all operations that use a Group Operation, push that as an operand.
// Next, for all operations that use a Group Operation, push that as an operand.
if
(
groupOperation
!=
spv
::
GroupOperationMax
)
{
if
(
groupOperation
!=
spv
::
GroupOperationMax
)
{
spv
::
IdImmediate
groupOperand
=
{
false
,
groupOperation
};
spv
::
IdImmediate
groupOperand
=
{
false
,
(
unsigned
)
groupOperation
};
spvGroupOperands
.
push_back
(
groupOperand
);
spvGroupOperands
.
push_back
(
groupOperand
);
}
}
...
...
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