[PATCH vkd3d v2 1/2] tests: Add test for texture placement at 64kb alignment.
hverbeet at gmail.com
Fri Jul 2 08:14:16 CDT 2021
On Fri, 2 Jul 2021 at 15:04, Conor McCarthy <cmccarthy at codeweavers.com> wrote:
> > - We may be able to detect that by aliasing multiple resources to
> > the same heap offset.
> Would this work by placing a smaller resource at a larger alignment within the same heap area, and check if its data has already been set to the uploaded value?
It doesn't need to be smaller or have a different alignment. Creating
two resources with the same properties at the same heap offset should
work. If these share the same heap allocation, modifications to one
should be visible in the other (after the appropriate barriers, etc.),
if they get separate allocations modifications wouldn't be visible.
More information about the wine-devel