projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21590a3
)
glsl: don't change the varying type in validation code
author
Timothy Arceri
<timothy.arceri@collabora.com>
Wed, 23 Dec 2015 03:26:49 +0000
(14:26 +1100)
committer
Timothy Arceri
<timothy.arceri@collabora.com>
Tue, 5 Jan 2016 23:52:58 +0000
(10:52 +1100)
There is a function dedicated to demoting unused varyings lets
trust it to do its job.
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/glsl/link_varyings.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/link_varyings.cpp
b/src/glsl/link_varyings.cpp
index 6119eff2fa31a4bd51303cc72d9f449479bfeced..c43abbcc6a5cf7df97aed8d00ccc062a2576b351 100644
(file)
--- a/
src/glsl/link_varyings.cpp
+++ b/
src/glsl/link_varyings.cpp
@@
-1669,11
+1669,6
@@
assign_varying_locations(struct gl_context *ctx,
var->name,
_mesa_shader_stage_to_string(producer->Stage));
}
-
- /* An 'in' variable is only really a shader input if its
- * value is written by the previous stage.
- */
- var->data.mode = ir_var_auto;
}
}
}