projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f858c
)
glsl: avoid treating fb fetches as output reads to be lowered
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Mon, 2 Jan 2017 04:00:46 +0000
(23:00 -0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Tue, 17 Jan 2017 02:13:08 +0000
(21:13 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/lower_output_reads.cpp
patch
|
blob
|
history
diff --git
a/src/compiler/glsl/lower_output_reads.cpp
b/src/compiler/glsl/lower_output_reads.cpp
index 851078bf2d25ea264e36eef91a74c0e26dddde3d..bd3accb3ddab6ce819615b35aca366fe352a265b 100644
(file)
--- a/
src/compiler/glsl/lower_output_reads.cpp
+++ b/
src/compiler/glsl/lower_output_reads.cpp
@@
-90,7
+90,7
@@
output_read_remover::~output_read_remover()
ir_visitor_status
output_read_remover::visit(ir_dereference_variable *ir)
{
- if (ir->var->data.mode != ir_var_shader_out)
+ if (ir->var->data.mode != ir_var_shader_out
|| ir->var->data.fb_fetch_output
)
return visit_continue;
hash_entry *entry = _mesa_hash_table_search(replacements, ir->var);