freedreno/a6xx: Drop the WFI in the program update stateobj.

Rob Clark thinks this was likely a workaround for our const buffer
update bugs, and now that it's passing tests, we should be able to
drop it.

renderdoc-traces results:

traces/android/clashofclans.rdc:  +6.1% +/-   1.1%
traces/android/candycrush.rdc:    +5.2% +/-   1.6%

Reviewed-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Eric Anholt 2019-07-17 12:56:12 -07:00
parent 2170822603
commit 9689407c54

View file

@ -263,8 +263,6 @@ setup_stateobj(struct fd_ringbuffer *ring, struct fd6_program_state *state,
uint8_t psize_loc = ~0;
int i, j;
OUT_WFI5(ring);
static const struct ir3_shader_variant dummy_fs = {0};
const struct ir3_shader_variant *vs = binning_pass ? state->bs : state->vs;
const struct ir3_shader_variant *fs = binning_pass ? &dummy_fs : state->fs;