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
f7cd88a2
Commit
f7cd88a2
authored
Jun 14, 2017
by
John Kessenich
Committed by
GitHub
Jun 14, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #937 from amdrexu/bugfix
SPV: Fix an typo of SPV_AMD_texture_gather_bias_lod
parents
82ae8c31
301a2bc8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
GLSL.ext.AMD.h
SPIRV/GLSL.ext.AMD.h
+1
-1
GlslangToSpv.cpp
SPIRV/GlslangToSpv.cpp
+1
-1
No files found.
SPIRV/GLSL.ext.AMD.h
View file @
f7cd88a2
...
@@ -117,7 +117,7 @@ static const char* const E_SPV_AMD_gpu_shader_half_float = "SPV_AMD_gpu_shader_h
...
@@ -117,7 +117,7 @@ static const char* const E_SPV_AMD_gpu_shader_half_float = "SPV_AMD_gpu_shader_h
// SPV_AMD_texture_gather_bias_lod
// SPV_AMD_texture_gather_bias_lod
static
const
char
*
const
E_SPV_AMD_texture_gather_bias_lod
=
"SPV_AMD_texture_gather_bias_lod"
;
static
const
char
*
const
E_SPV_AMD_texture_gather_bias_lod
=
"SPV_AMD_texture_gather_bias_lod"
;
static
const
Capability
Op
CapabilityImageGatherBiasLodAMD
=
static_cast
<
Capability
>
(
5009
);
static
const
Capability
CapabilityImageGatherBiasLodAMD
=
static_cast
<
Capability
>
(
5009
);
// SPV_AMD_gpu_shader_int16
// SPV_AMD_gpu_shader_int16
static
const
char
*
const
E_SPV_AMD_gpu_shader_int16
=
"SPV_AMD_gpu_shader_int16"
;
static
const
char
*
const
E_SPV_AMD_gpu_shader_int16
=
"SPV_AMD_gpu_shader_int16"
;
...
...
SPIRV/GlslangToSpv.cpp
View file @
f7cd88a2
...
@@ -3294,7 +3294,7 @@ spv::Id TGlslangToSpvTraverser::createImageTextureFunctionCall(glslang::TIntermO
...
@@ -3294,7 +3294,7 @@ spv::Id TGlslangToSpvTraverser::createImageTextureFunctionCall(glslang::TIntermO
if
(
bias
||
cracked
.
lod
||
if
(
bias
||
cracked
.
lod
||
sourceExtensions
.
find
(
glslang
::
E_GL_AMD_texture_gather_bias_lod
)
!=
sourceExtensions
.
end
())
{
sourceExtensions
.
find
(
glslang
::
E_GL_AMD_texture_gather_bias_lod
)
!=
sourceExtensions
.
end
())
{
builder
.
addExtension
(
spv
::
E_SPV_AMD_texture_gather_bias_lod
);
builder
.
addExtension
(
spv
::
E_SPV_AMD_texture_gather_bias_lod
);
builder
.
addCapability
(
spv
::
Op
CapabilityImageGatherBiasLodAMD
);
builder
.
addCapability
(
spv
::
CapabilityImageGatherBiasLodAMD
);
}
}
}
}
#endif
#endif
...
...
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