projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d86c983
)
glsl: make varying_matches::is_varying_packing_safe() const
author
Brian Paul
<brianp@vmware.com>
Fri, 15 Dec 2017 21:23:39 +0000
(14:23 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 20 Dec 2017 18:23:16 +0000
(11:23 -0700)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/link_varyings.cpp
patch
|
blob
|
history
diff --git
a/src/compiler/glsl/link_varyings.cpp
b/src/compiler/glsl/link_varyings.cpp
index cadffeb2466c96e87f3a873a2202b34aaf2660f9..9039c3b8b83ec1b58cadf672976bef5aab86a7aa 100644
(file)
--- a/
src/compiler/glsl/link_varyings.cpp
+++ b/
src/compiler/glsl/link_varyings.cpp
@@
-1475,7
+1475,7
@@
public:
private:
bool is_varying_packing_safe(const glsl_type *type,
- const ir_variable *var);
+ const ir_variable *var)
const
;
/**
* If true, this driver disables varying packing, so all varyings need to
@@
-1608,7
+1608,7
@@
varying_matches::~varying_matches()
*/
bool
varying_matches::is_varying_packing_safe(const glsl_type *type,
- const ir_variable *var)
+ const ir_variable *var)
const
{
if (consumer_stage == MESA_SHADER_TESS_EVAL ||
consumer_stage == MESA_SHADER_TESS_CTRL ||