From bb47e0f97e9b80bb419ed047e821791462865cdc Mon Sep 17 00:00:00 2001 From: cdozdil Date: Sun, 26 Apr 2026 21:14:08 +0300 Subject: [PATCH] Fix depth transfer thread dispatch count for runtime compiled shader --- OptiScaler/shaders/depth_transfer/DT_Common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OptiScaler/shaders/depth_transfer/DT_Common.h b/OptiScaler/shaders/depth_transfer/DT_Common.h index c0f8924f..c7675f15 100644 --- a/OptiScaler/shaders/depth_transfer/DT_Common.h +++ b/OptiScaler/shaders/depth_transfer/DT_Common.h @@ -7,7 +7,7 @@ Texture2D SourceTexture : register(t0); RWTexture2D DestinationTexture : register(u0); // Shader to perform the conversion -[numthreads(512, 1, 1)] +[numthreads(16, 16, 1)] void CSMain(uint3 dispatchThreadID : SV_DispatchThreadID) { float srcColor = SourceTexture.Load(int3(dispatchThreadID.xy, 0));