From: Francisco Jerez Date: Thu, 7 May 2015 16:33:57 +0000 (+0300) Subject: i965: Don't forget the force_sechalf flag in lower_load_payload(). X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=0db663503ea86579d3352fe83d428d573a8d2b03 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 --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 3414d92efde..08664cf328c 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);