wined3d: Do not track dirty ranges for buffers without WINED3D_BUFFER_USE_BO.
commit307b200363d78fbb00c3519a38b26a9f044e402e
authorZebediah Figura <zfigura@codeweavers.com>
Sat, 14 Oct 2023 17:57:11 +0000 (14 12:57 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 18 Oct 2023 12:01:57 +0000 (18 14:01 +0200)
tree913f76c459476dc27b73784de21e54aa4c2075e9
parent8378a786a6d3fada09e3907018d41e1e63d54743
wined3d: Do not track dirty ranges for buffers without WINED3D_BUFFER_USE_BO.

Since we never upload the buffer, and may very well never invalidate the whole
thing, this just results in continually increasing memory consumption.

This is especially a problem for our internal push constant buffers, which are
sysmem buffers that usually are never wholly invalidated, but it could also
potentially be a problem for other buffers.
dlls/wined3d/buffer.c