From 03565ee51c77b5da99d6de8c17393fc0fd418e8a Mon Sep 17 00:00:00 2001 From: Dennis Brakhane Date: Sat, 7 Jun 2025 16:48:01 +0200 Subject: [PATCH] update comment to clarify what is causing the issue (#1119) --- WickedEngine/shaders/globals.hlsli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WickedEngine/shaders/globals.hlsli b/WickedEngine/shaders/globals.hlsli index a8b0dd336..6105a3951 100644 --- a/WickedEngine/shaders/globals.hlsli +++ b/WickedEngine/shaders/globals.hlsli @@ -498,7 +498,7 @@ StructuredBuffer bindless_structured_terrain_chunks[] : regi StructuredBuffer bindless_structured_ddi_probes[] : register(space208); #endif // __spirv__ -// Note: these are macros, otherwise the SPIRV compilation is a LOT slower and uses a LOT more memory for some reason, issue: https://github.com/microsoft/DirectXShaderCompiler/issues/7488 +// Note: these are macros, the SPIRV compilation is a LOT slower and uses a LOT more memory when functions return large structs, issue: https://github.com/microsoft/DirectXShaderCompiler/issues/7493 #define GetFrame() (g_xFrame) #define GetScene() (g_xFrame.scene) #define GetWeather() (g_xFrame.scene.weather)