From: Rob Clark Date: Thu, 6 Jun 2019 16:53:15 +0000 (-0700) Subject: freedreno/a6xx: don't pre-dispatch texture fetch on accident X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a02ca807de419d79dbe2555ec11104436dbbe01;p=mesa.git freedreno/a6xx: don't pre-dispatch texture fetch on accident Signed-off-by: Rob Clark Reviewed-by: Kristian H. Kristensen --- diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_program.c b/src/gallium/drivers/freedreno/a6xx/fd6_program.c index 619cd86c67a..dedd7ffb2f7 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_program.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_program.c @@ -296,8 +296,11 @@ setup_stateobj(struct fd_ringbuffer *ring, struct fd6_program_state *state, OUT_RING(ring, 0); /* SP_GS_CONFIG */ OUT_RING(ring, 0); /* SP_GS_INSTRLEN */ + /* I believe this is related to pre-dispatch texture fetch.. we probably + * should't turn it on by accident: + */ OUT_PKT4(ring, REG_A6XX_SP_UNKNOWN_A99E, 1); - OUT_RING(ring, 0x7fc0); + OUT_RING(ring, 0x0); OUT_PKT4(ring, REG_A6XX_SP_UNKNOWN_A9A8, 1); OUT_RING(ring, 0);