From: Kenneth Graunke Date: Fri, 18 Apr 2014 16:56:43 +0000 (-0700) Subject: i965/fs: Add support for fs_inst::force_writemask_all on Broadwell. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b10785f9a94978df3ddded6faf4da3b19849b33f;p=mesa.git i965/fs: Add support for fs_inst::force_writemask_all on Broadwell. This must not have existed when I wrote the original code. The atomic operation header setup code uses this. Signed-off-by: Kenneth Graunke Reviewed-by: Eric Anholt --- diff --git a/src/mesa/drivers/dri/i965/gen8_fs_generator.cpp b/src/mesa/drivers/dri/i965/gen8_fs_generator.cpp index 7fb81c730cc..ca8629487b6 100644 --- a/src/mesa/drivers/dri/i965/gen8_fs_generator.cpp +++ b/src/mesa/drivers/dri/i965/gen8_fs_generator.cpp @@ -920,6 +920,7 @@ gen8_fs_generator::generate_code(exec_list *instructions) default_state.predicate = ir->predicate; default_state.predicate_inverse = ir->predicate_inverse; default_state.saturate = ir->saturate; + default_state.mask_control = ir->force_writemask_all; default_state.flag_subreg_nr = ir->flag_subreg; if (dispatch_width == 16 && !ir->force_uncompressed)