[GPU] Clear image buffer owners with format-correct fill values

This commit is contained in:
ParantezTech 2026-10-13 04:54:37 +03:00
parent 8164636d99
commit 160521fd78
1 changed files with 1 additions and 1 deletions

View File

@ -834,7 +834,7 @@ public sealed unsafe partial class GuestImageCache
byte stencilClear = 0;
if (aspect == ImageAspectFlags.ColorBit)
{
if (!PackedClearValue.TryDecodeColor(image.Description.PixelFormat, packedClear, out colorClear))
if (!PackedClearValue.TryDecodeBufferColor(image.Description.PixelFormat, packedClear, out colorClear))
{
return false;
}