From b46cc14025d16fb06f4dccc7ca40b092631dd15f Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Wed, 15 Sep 2021 02:36:52 +0100 Subject: [PATCH] rendervulkan: Use textureLod() May as well. --- src/composite.comp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composite.comp b/src/composite.comp index b77f0d5..f8c1316 100644 --- a/src/composite.comp +++ b/src/composite.comp @@ -35,7 +35,7 @@ vec4 sampleLayer(sampler2D layerSampler, uint layerIdx, vec2 uv) { coord.x >= texSize.x || coord.y >= texSize.y ) return vec4(0.0f, 0.0f, 0.0f, u_borderAlpha[layerIdx]); - return texture(layerSampler, coord); + return textureLod(layerSampler, coord, 0.0f); } vec4 sampleLayer(uint layerIdx, vec2 uv) {