On Wed, 23 Jun 2021 at 23:39, Zebediah Figura z.figura12@gmail.com wrote:
I don't know if there's an advantage to caching these, although it seems plausible, but mostly this is just for ease of access.
Well, we already have wined3d_texture_get_sub_resource_desc(). We could certainly extend that to buffers and expose it through the resource ops.
About caching the values I mostly feel the same here as in patch 1/5; it's fine if it makes a performance difference, but otherwise it doesn't seem worth it.