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
816bc444
Unverified
Commit
816bc444
authored
Oct 25, 2018
by
John Kessenich
Committed by
GitHub
Oct 25, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1545 from dj2/warnings
Fixup unused parameter warnings
parents
086febc4
70f13b2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
SpvPostProcess.cpp
SPIRV/SpvPostProcess.cpp
+1
-1
SpvTools.cpp
SPIRV/SpvTools.cpp
+2
-2
No files found.
SPIRV/SpvPostProcess.cpp
View file @
816bc444
...
@@ -208,7 +208,7 @@ void Builder::postProcess(const Instruction& inst)
...
@@ -208,7 +208,7 @@ void Builder::postProcess(const Instruction& inst)
}
}
// Called for each instruction in a reachable block.
// Called for each instruction in a reachable block.
void
Builder
::
postProcessReachable
(
const
Instruction
&
inst
)
void
Builder
::
postProcessReachable
(
const
Instruction
&
)
{
{
// did have code here, but questionable to do so without deleting the instructions
// did have code here, but questionable to do so without deleting the instructions
}
}
...
...
SPIRV/SpvTools.cpp
View file @
816bc444
...
@@ -114,8 +114,8 @@ void SpirvToolsValidate(const glslang::TIntermediate& intermediate, std::vector<
...
@@ -114,8 +114,8 @@ void SpirvToolsValidate(const glslang::TIntermediate& intermediate, std::vector<
// Apply the SPIRV-Tools optimizer to generated SPIR-V, for the purpose of
// Apply the SPIRV-Tools optimizer to generated SPIR-V, for the purpose of
// legalizing HLSL SPIR-V.
// legalizing HLSL SPIR-V.
void
SpirvToolsLegalize
(
const
glslang
::
TIntermediate
&
intermediate
,
std
::
vector
<
unsigned
int
>&
spirv
,
void
SpirvToolsLegalize
(
const
glslang
::
TIntermediate
&
,
std
::
vector
<
unsigned
int
>&
spirv
,
spv
::
SpvBuildLogger
*
logger
,
const
SpvOptions
*
options
)
spv
::
SpvBuildLogger
*
,
const
SpvOptions
*
options
)
{
{
spv_target_env
target_env
=
SPV_ENV_UNIVERSAL_1_2
;
spv_target_env
target_env
=
SPV_ENV_UNIVERSAL_1_2
;
...
...
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