Mesa (master): i965: Don' t forget the force_sechalf flag in lower_load_payload().

Francisco Jerez currojerez at kemper.freedesktop.org
Tue May 12 12:50:11 UTC 2015


Module: Mesa
Branch: master
Commit: 0db663503ea86579d3352fe83d428d573a8d2b03
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0db663503ea86579d3352fe83d428d573a8d2b03

Author: Francisco Jerez <currojerez at riseup.net>
Date:   Thu May  7 19:33:57 2015 +0300

i965: Don't forget the force_sechalf flag in lower_load_payload().

Regression from commit 41868bb6824c6106a55c8442006c1e2215abf567.
Fixes a bunch of ARB_shader_image_load_store tests.

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

---

 src/mesa/drivers/dri/i965/brw_fs.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 3414d92..08664cf 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -3507,6 +3507,7 @@ fs_visitor::lower_load_payload()
             fs_inst *mov = MOV(retype(dst, inst->src[i].type),
                                inst->src[i]);
             mov->force_writemask_all = inst->force_writemask_all;
+            mov->force_sechalf = inst->force_sechalf;
             inst->insert_before(block, mov);
          }
          dst = offset(dst, 1);




More information about the mesa-commit mailing list