diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2015-12-03 18:27:39 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2016-03-17 08:23:25 +0100 |
commit | 30fc3fa24d90c1ceda33ba95832e17c67584e2bc (patch) | |
tree | 162a78ea0156da95ae6a23a44365a7c0b0232a03 /src/mesa/drivers/dri/i965 | |
parent | 2fafc6b98ccc5b0aecc54eadceef8760bbff4233 (diff) |
i965/vec4/gen6: fix exec_size for instructions with width of 4 in generate_gs_svb_write()
Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_generator.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp index 549b707203f..871b49ad9ab 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp @@ -485,10 +485,13 @@ generate_gs_svb_write(struct brw_codegen *p, bool final_write = inst->sol_final_write; brw_push_insn_state(p); + brw_set_default_exec_size(p, BRW_EXECUTE_4); /* Copy Vertex data into M0.x */ brw_MOV(p, stride(dst, 4, 4, 1), stride(retype(src0, BRW_REGISTER_TYPE_UD), 4, 4, 1)); + brw_pop_insn_state(p); + brw_push_insn_state(p); /* Send SVB Write */ brw_svb_write(p, final_write ? src1 : brw_null_reg(), /* dest == src1 */ |