From: Samuel Iglesias Gonsalvez Date: Tue, 15 Dec 2015 08:34:38 +0000 (+0100) Subject: i965/vec4/gen6: fix exec_size for MOV with a width of 4 in generate_gs_ff_sync() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22a10dd0308c4993350e3e0609588a6f4e1cd402;p=mesa.git i965/vec4/gen6: fix exec_size for MOV with a width of 4 in generate_gs_ff_sync() Signed-off-by: Samuel Iglesias Gonsalvez Reviewed-by: Topi Pohjolainen --- diff --git a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp index 7063426b48a..621c3321c81 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp @@ -705,8 +705,10 @@ generate_gs_ff_sync(struct brw_codegen *p, brw_MOV(p, get_element_ud(header, 0), get_element_ud(dst, 0)); /* src1 is not an immediate when we use transform feedback */ - if (src1.file != BRW_IMMEDIATE_VALUE) + if (src1.file != BRW_IMMEDIATE_VALUE) { + brw_set_default_exec_size(p, BRW_EXECUTE_4); brw_MOV(p, brw_vec4_grf(src1.nr, 0), brw_vec4_grf(dst.nr, 1)); + } brw_pop_insn_state(p); }