On Wed, 8 Dec 2021 at 16:00, Conor McCarthy cmccarthy@codeweavers.com wrote:
Based on a vkd3d-proton patch by Philip Rebohle.
Signed-off-by: Conor McCarthy cmccarthy@codeweavers.com
libs/vkd3d/resource.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
Does this actually make a difference in the generated code or observed performance for you? I suppose the patch isn't wrong as such, but it doesn't make a difference in the generated code for me. For me, gcc already eliminates the dead stores in both the 32-bit and the 64-bit builds.