diff options
author | Kenneth Graunke <[email protected]> | 2014-08-11 08:15:57 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-08-12 13:39:24 -0700 |
commit | 7b6b61ba839d87927516cb94a1ebe6c88774a943 (patch) | |
tree | 1b4a53d08907e75cb3d66b0c9d739fde86219469 /src | |
parent | 97d57f1142db2a11189a2c9a174f9f69fd5a298d (diff) |
i965/vec4: Set NoMask for GS_OPCODE_SET_VERTEX_COUNT on Gen8+.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Cc: "10.2" <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen8_vec4_generator.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 |