diff options
author | Eric Anholt <[email protected]> | 2019-07-17 12:56:12 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-07-17 16:20:12 -0700 |
commit | 9689407c54a1418ac3e7e664b995f6c80f86d4db (patch) | |
tree | 910146d60ac53dfc8c032740edac1c12c14744d1 /src/gallium/drivers/freedreno/a6xx | |
parent | 217082260309c6769a75a288c90748c1080c762f (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a6xx')
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_program.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_program.c b/src/gallium/drivers/freedreno/a6xx/fd6_program.c index 76099177030..7714f569f96 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_program.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_program.c @@ -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; |