projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e07119
)
Build: Fix linux
author
Jeremy Hayes
<jeremy@lunarg.com>
Tue, 6 Jun 2017 18:03:54 +0000
(12:03 -0600)
committer
Jeremy Hayes
<jeremy@lunarg.com>
Tue, 6 Jun 2017 21:52:50 +0000
(15:52 -0600)
I believe this is a repeat of 12d6936.
glslang/MachineIndependent/ParseHelper.cpp
patch
|
blob
|
history
diff --git
a/glslang/MachineIndependent/ParseHelper.cpp
b/glslang/MachineIndependent/ParseHelper.cpp
index
f4cf354
..
329dea6
100644
(file)
--- a/
glslang/MachineIndependent/ParseHelper.cpp
+++ b/
glslang/MachineIndependent/ParseHelper.cpp
@@
-1451,8
+1451,8
@@
void TParseContext::builtInOpCheck(const TSourceLoc& loc, const TFunction& fnCan
bias = fnCandidate.getParamCount() > 4;
if (bias) {
-
f
eatureString = fnCandidate.getName() + "with bias argument";
-
feature = f
eatureString.c_str();
+
TString biasF
eatureString = fnCandidate.getName() + "with bias argument";
+
const char* feature = biasF
eatureString.c_str();
profileRequires(loc, ~EEsProfile, 450, nullptr, feature);
requireExtensions(loc, 1, &E_GL_AMD_texture_gather_bias_lod, feature);
}