diff options
author | Ilia Mirkin <[email protected]> | 2017-01-01 23:00:46 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2017-01-16 21:13:08 -0500 |
commit | 2dd4cdeb4ee7b93d57d317175e3e3483dbf82aaf (patch) | |
tree | a886546549677604b1a79ee525d5f5df22974418 /src/compiler/glsl/lower_output_reads.cpp | |
parent | 75f858cc339e16a30b9cde0b107d402a4c6966fd (diff) |
glsl: avoid treating fb fetches as output reads to be lowered
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/glsl/lower_output_reads.cpp')
-rw-r--r-- | src/compiler/glsl/lower_output_reads.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/lower_output_reads.cpp b/src/compiler/glsl/lower_output_reads.cpp index 851078bf2d2..bd3accb3dda 100644 --- 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); |