From: Kenneth Graunke Date: Mon, 11 Aug 2014 15:15:57 +0000 (-0700) Subject: i965/vec4: Set NoMask for GS_OPCODE_SET_VERTEX_COUNT on Gen8+. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b6b61ba839d87927516cb94a1ebe6c88774a943;p=mesa.git i965/vec4: Set NoMask for GS_OPCODE_SET_VERTEX_COUNT on Gen8+. Signed-off-by: Kenneth Graunke Reviewed-by: Chris Forbes Reviewed-by: Matt Turner Cc: "10.2" --- diff --git a/src/mesa/drivers/dri/i965/gen8_vec4_generator.cpp b/src/mesa/drivers/dri/i965/gen8_vec4_generator.cpp index 6951f887d0a..db66d681c63 100644 --- a/src/mesa/drivers/dri/i965/gen8_vec4_generator.cpp +++ b/src/mesa/drivers/dri/i965/gen8_vec4_generator.cpp @@ -189,7 +189,9 @@ gen8_vec4_generator::generate_gs_set_vertex_count(struct brw_reg eot_mrf_header, /* Move the vertex count into the second MRF for the EOT write. */ assert(eot_mrf_header.file == BRW_MESSAGE_REGISTER_FILE); int dst_nr = GEN7_MRF_HACK_START + eot_mrf_header.nr + 1; - MOV(retype(brw_vec8_grf(dst_nr, 0), BRW_REGISTER_TYPE_UD), src); + gen8_instruction *inst = + MOV(retype(brw_vec8_grf(dst_nr, 0), BRW_REGISTER_TYPE_UD), src); + gen8_set_mask_control(inst, BRW_MASK_DISABLE); } void