Browse Source

dont implode

lizzie/ssaa-what-the-fuck
lizzie 2 months ago
parent
commit
e66d69c3b2
  1. 2
      src/video_core/host_shaders/ssaa.frag

2
src/video_core/host_shaders/ssaa.frag

@ -15,5 +15,5 @@ layout (location = 0) out vec4 frag_color;
layout (binding = BINDING_COLOR_TEXTURE) uniform sampler2D input_texture; layout (binding = BINDING_COLOR_TEXTURE) uniform sampler2D input_texture;
void main() { void main() {
frag_color = texelFetch(input_texture, ivec2(posPos.xy * textureSize(input_texture)), gl_SampleID);
frag_color = texelFetch(input_texture, ivec2(posPos.xy * textureSize(input_texture, 0)), gl_SampleID);
} }
Loading…
Cancel
Save