diff options
author | Matt Turner <mattst88@gmail.com> | 2016-08-29 15:57:41 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2016-08-31 13:11:27 -0700 |
commit | 90eaf01616a8cf7a39dae63a3d5636874fa68fa5 (patch) | |
tree | a54ff03684358b361f38ed418818eed92247f90e /src/mesa/drivers/dri/i965/brw_eu.h | |
parent | bea048752ea95d5e074891f2131f54d6e0760538 (diff) | |
download | external_mesa3d-90eaf01616a8cf7a39dae63a3d5636874fa68fa5.zip external_mesa3d-90eaf01616a8cf7a39dae63a3d5636874fa68fa5.tar.gz external_mesa3d-90eaf01616a8cf7a39dae63a3d5636874fa68fa5.tar.bz2 |
i965: Pass start_offset to brw_set_uip_jip().
Without this, we would pass over the instructions in the SIMD8 program
(which is located earlier in the buffer) when brw_set_uip_jip() is
called to handle the SIMD16 program.
The assertion about compacted control flow was bogus: halt, cont, break
cannot be compacted because they have both JIP and UIP. Instead, we
should never see a compacted instruction in this code at all.
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_eu.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h index aeb1a76..2898b2f 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.h +++ b/src/mesa/drivers/dri/i965/brw_eu.h @@ -526,7 +526,7 @@ void brw_math_invert( struct brw_codegen *p, void brw_set_src1(struct brw_codegen *p, brw_inst *insn, struct brw_reg reg); -void brw_set_uip_jip(struct brw_codegen *p); +void brw_set_uip_jip(struct brw_codegen *p, int start_offset); enum brw_conditional_mod brw_negate_cmod(uint32_t cmod); enum brw_conditional_mod brw_swap_cmod(uint32_t cmod); |