i965/vec4: Respect ir->force_writemask_all in Gen8 code generation.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Aug 2014 15:41:36 +0000 (08:41 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Aug 2014 20:39:25 +0000 (13:39 -0700)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/gen8_vec4_generator.cpp

index db66d681c639ce149e5805bb1053a5f8ca810eca..bf904c674e2a4f9a8c0e445190f927822900353e 100644 (file)
@@ -872,6 +872,7 @@ gen8_vec4_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;
 
       const unsigned pre_emit_nr_inst = nr_inst;