X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Ffreedreno%2Fa6xx%2Ffd6_emit.c;h=c055ac0d2f4a41c9df6be843ac3bfe3d6126c7c2;hb=0c97e601a422532ea673e842683982b1b4012e6d;hp=67d9a8f13ae7b8099ac243d18b028b2bbd6cc7e5;hpb=84ed2d0980bfa98898606c67e7441bc83da6100e;p=mesa.git diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c index 67d9a8f13ae..c055ac0d2f4 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c @@ -346,7 +346,7 @@ fd6_emit_textures(struct fd_pipe *pipe, struct fd_ringbuffer *ring, OUT_RING(state, sampler->texsamp0); OUT_RING(state, sampler->texsamp1); OUT_RING(state, sampler->texsamp2 | - A6XX_TEX_SAMP_2_BCOLOR_OFFSET((i + bcolor_offset) * sizeof(struct bcolor_entry))); + A6XX_TEX_SAMP_2_BCOLOR(i + bcolor_offset)); OUT_RING(state, sampler->texsamp3); needs_border |= sampler->needs_border; }