projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
485df25
)
v3d: Don't forget to bump the number of writes when doing TFU ops.
author
Eric Anholt
<eric@anholt.net>
Thu, 13 Dec 2018 23:47:29 +0000
(15:47 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 15 Dec 2018 01:48:01 +0000
(17:48 -0800)
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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/v3d/v3d_blit.c
b/src/gallium/drivers/v3d/v3d_blit.c
index ae0812da8e722f127f8596132c4fa9c1410e9005..de42f6ca7ee9b2194c986a6dba38e9c10c87d894 100644
(file)
--- 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;
}