From 30c817486e6b3dcac8f7c96d90e829f58f4e0bc3 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 25 Aug 2026 15:29:58 +0100 Subject: [PATCH] Fix bad casts on overlay texture pixel picking --- util/test/tests/Vulkan/VK_Indirect.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/test/tests/Vulkan/VK_Indirect.py b/util/test/tests/Vulkan/VK_Indirect.py index ef6e82789..49db43d8f 100644 --- a/util/test/tests/Vulkan/VK_Indirect.py +++ b/util/test/tests/Vulkan/VK_Indirect.py @@ -110,7 +110,7 @@ class VK_Indirect(rdtest.TestCase): if overlay == rd.DebugOverlay.ClearBeforePass: overlayTex = col_tex - picked = self.controller.PickPixel(overlayTex, x, y, rd.Subresource(), rd.CompType.UNorm) + picked = self.controller.PickPixel(overlayTex, x, y, rd.Subresource(), rd.CompType.Typeless) out.Shutdown() return picked @@ -303,7 +303,7 @@ class VK_Indirect(rdtest.TestCase): for s in self.samples: x = s[0] y = s[1] - picked = self.controller.PickPixel(overlayTex, x, y, rd.Subresource(), rd.CompType.Float) + picked = self.controller.PickPixel(overlayTex, x, y, rd.Subresource(), rd.CompType.Typeless) if picked.floatValue != emptyPixel: empty = False if expectEmpty and not empty: