From b10785f9a94978df3ddded6faf4da3b19849b33f Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 18 Apr 2014 09:56:43 -0700 Subject: [PATCH] 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 --- src/mesa/drivers/dri/i965/gen8_fs_generator.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2