wined3d: Do not load UAV locations when clearing if not necessary.
commitd163ef089e8f68deef4b10a63b72003aaba0ec0b
authorZebediah Figura <zfigura@codeweavers.com>
Mon, 17 Jul 2023 18:18:07 +0000 (17 13:18 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 2 Aug 2023 10:58:23 +0000 (2 19:58 +0900)
tree88a22a8175685cc613baf2684f24864248d49db2
parent9373cd5e3e1c5d4fd5e26783781ba5ea626b2094
wined3d: Do not load UAV locations when clearing if not necessary.

Don't load the buffer location if we are clearing the whole buffer, and never
load the texture location (for Vulkan; GL already did this). Only prepare them
instead.
dlls/wined3d/buffer.c
dlls/wined3d/view.c
dlls/wined3d/wined3d_private.h