From 00c9321b1d26a602b11eccbbdbc4edfbca050425 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 31 Jan 2024 15:14:42 +0100 Subject: [PATCH] glsl: use const in for params --- rpcs3/Emu/RSX/Program/GLSLSnippets/VideoOutCalibrationPass.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/Program/GLSLSnippets/VideoOutCalibrationPass.glsl b/rpcs3/Emu/RSX/Program/GLSLSnippets/VideoOutCalibrationPass.glsl index 0715c6ebe6..8db4418cba 100644 --- a/rpcs3/Emu/RSX/Program/GLSLSnippets/VideoOutCalibrationPass.glsl +++ b/rpcs3/Emu/RSX/Program/GLSLSnippets/VideoOutCalibrationPass.glsl @@ -47,7 +47,7 @@ uniform int stereo_image_count; uniform int height; #endif -vec4 anaglyph(vec4 left, vec4 right) +vec4 anaglyph(const in vec4 left, const in vec4 right) { switch (stereo_display_mode) {