i965/fs: Add support for fs_inst::force_writemask_all on Broadwell.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 18 Apr 2014 16:56:43 +0000 (09:56 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 1 May 2014 07:23:44 +0000 (00:23 -0700)
This must not have existed when I wrote the original code.  The atomic
operation header setup code uses this.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen8_fs_generator.cpp

index 7fb81c730cc21c351bc053089eb56ca21328293c..ca8629487b67e9ae97be108a7e1575d3b6ffcd69 100644 (file)
@@ -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)