mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
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.
This commit is contained in:
parent
485df2574e
commit
e5b4d1f55f
1 changed files with 2 additions and 0 deletions
|
|
@ -418,6 +418,8 @@ v3d_generate_mipmap(struct pipe_context *pctx,
|
|||
return false;
|
||||
}
|
||||
|
||||
rsc->writes++;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue