From 2e180e4c09ef40c3c85a5f5e26ba673028326e73 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 11 Aug 2014 08:41:36 -0700 Subject: [PATCH] i965/vec4: Respect ir->force_writemask_all in Gen8 code generation. Signed-off-by: Kenneth Graunke Reviewed-by: Chris Forbes Reviewed-by: Matt Turner Cc: "10.2" --- src/mesa/drivers/dri/i965/gen8_vec4_generator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/gen8_vec4_generator.cpp b/src/mesa/drivers/dri/i965/gen8_vec4_generator.cpp index db66d681c63..bf904c674e2 100644 --- a/src/mesa/drivers/dri/i965/gen8_vec4_generator.cpp +++ b/src/mesa/drivers/dri/i965/gen8_vec4_generator.cpp @@ -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; -- 2.30.2