From d7c1ced08d5d78fcb239550404db4e67d4357a19 Mon Sep 17 00:00:00 2001 From: hachem Date: Tue, 22 Sep 2026 06:57:16 +0200 Subject: fix: windows support --- assets/shaders/equirect_to_cubemap.slang | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'assets/shaders/equirect_to_cubemap.slang') diff --git a/assets/shaders/equirect_to_cubemap.slang b/assets/shaders/equirect_to_cubemap.slang index 5b4caff..9316646 100644 --- a/assets/shaders/equirect_to_cubemap.slang +++ b/assets/shaders/equirect_to_cubemap.slang @@ -1,8 +1,7 @@ -// equirectangular HDRI -> cubemap face projection. NOTE: the OpenGL path uses the -// hand-written assets/shaders/EquirectToCubemap.glsl instead; this Slang version -// feeds the Vulkan cubemap bake (vulkan_cubemap.cpp), which binds the view / -// projection as a $Globals UBO. kept as loose `uniform` globals (not a -// ConstantBuffer) so both paths bind them the same way. +// equirectangular HDRI -> cubemap face projection. both bakes use it: the Vulkan +// one (vulkan_cubemap.cpp) binds view / projection as a $Globals UBO, the OpenGL +// one (texture.cpp) sets the flattened u_projection / u_view uniforms. kept as +// loose `uniform` globals (not a ConstantBuffer) so both paths bind them the same way. uniform float4x4 u_projection; uniform float4x4 u_view; -- cgit v1.3