From 9d399befbeecd4f83fe78d668a4a980d8e9744d7 Mon Sep 17 00:00:00 2001 From: Sergey Kosarevsky Date: Wed, 11 Dec 2024 01:22:51 -0800 Subject: [PATCH] Added missing `nonuniformEXT()` --- lvk/HelpersImGui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lvk/HelpersImGui.cpp b/lvk/HelpersImGui.cpp index 775cd0d7bf..c96eeb2e5f 100644 --- a/lvk/HelpersImGui.cpp +++ b/lvk/HelpersImGui.cpp @@ -71,7 +71,7 @@ layout(push_constant) uniform PushConstants { } pc; void main() { - vec4 c = in_color * texture(sampler2D(kTextures2D[pc.textureId], kSamplers[pc.samplerId]), in_uv); + vec4 c = in_color * texture(nonuniformEXT(sampler2D(kTextures2D[pc.textureId], kSamplers[pc.samplerId])), in_uv); // Render UI in linear color space to sRGB framebuffer. out_color = kNonLinearColorSpace ? vec4(pow(c.rgb, vec3(2.2)), c.a) : c; })";