i965: Don't forget the force_sechalf flag in lower_load_payload().
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 7 May 2015 16:33:57 +0000 (19:33 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 12 May 2015 12:47:56 +0000 (15:47 +0300)
Regression from commit 41868bb6824c6106a55c8442006c1e2215abf567.
Fixes a bunch of ARB_shader_image_load_store tests.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs.cpp

index 3414d92efdecf8f63a35fd91db346800399bdf2b..08664cf328c419d3e32c9a6cd6ef2c63ef75aa29 100644 (file)
@@ -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);