From 0bba0da4e4f7e321f64062fe56b9bdacbabe854e Mon Sep 17 00:00:00 2001 From: luboslenco Date: Sat, 22 Aug 2020 10:41:28 +0200 Subject: [PATCH] Make 3D cursor work for Vulkan --- Shaders/painter/cursor.frag.glsl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Shaders/painter/cursor.frag.glsl b/Shaders/painter/cursor.frag.glsl index 0a0a00fc..a24d7167 100644 --- a/Shaders/painter/cursor.frag.glsl +++ b/Shaders/painter/cursor.frag.glsl @@ -1,5 +1,8 @@ #version 330 uniform vec3 tint; +#ifdef SPIRV +uniform sampler2D gbufferD; // vulkan unit align +#endif uniform sampler2D tex; in vec2 texCoord; out vec4 FragColor;