Skip to content

Commit

Permalink
Added missing nonuniformEXT()
Browse files Browse the repository at this point in the history
  • Loading branch information
corporateshark committed Dec 11, 2024
1 parent 89b13aa commit 9d399be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lvk/HelpersImGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
})";
Expand Down

0 comments on commit 9d399be

Please sign in to comment.