Mesa (master): v3d: Don't forget to bump the number of writes when doing TFU ops.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Dec 15 03:29:15 UTC 2018
Module: Mesa
Branch: master
Commit: e5b4d1f55f490892f56a60f8056aeddc30d7acc3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5b4d1f55f490892f56a60f8056aeddc30d7acc3
Author: Eric Anholt <eric at anholt.net>
Date: Thu Dec 13 15:47:29 2018 -0800
v3d: Don't forget to bump the number of writes when doing TFU ops.
generatemipmap is just filling out the rest of the mipmap that's already
been written (by a mapping or a draw call), so it didn't matter. As I
reuse the TFU code for linear-to-UIF conversions, it'll start mattering.
---
src/gallium/drivers/v3d/v3d_blit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/drivers/v3d/v3d_blit.c b/src/gallium/drivers/v3d/v3d_blit.c
index ae0812da8e..de42f6ca7e 100644
--- a/src/gallium/drivers/v3d/v3d_blit.c
+++ b/src/gallium/drivers/v3d/v3d_blit.c
@@ -418,6 +418,8 @@ v3d_generate_mipmap(struct pipe_context *pctx,
return false;
}
+ rsc->writes++;
+
return true;
}
More information about the mesa-commit
mailing list