diff options
author | Liam <byteslice@airmail.cc> | 2024-01-18 17:44:13 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-31 17:27:21 +0100 |
commit | 9bdf09bd768f73073e9d1cbc65febfd7f7955db3 (patch) | |
tree | 7d29d4c4f61f4c0272056af2370a2c75a769f7d6 /src/video_core/host_shaders/present_bicubic.frag | |
parent | renderer_opengl: split up blit screen resources into antialias and window adapt passes (diff) | |
download | yuzu-9bdf09bd768f73073e9d1cbc65febfd7f7955db3.tar yuzu-9bdf09bd768f73073e9d1cbc65febfd7f7955db3.tar.gz yuzu-9bdf09bd768f73073e9d1cbc65febfd7f7955db3.tar.bz2 yuzu-9bdf09bd768f73073e9d1cbc65febfd7f7955db3.tar.lz yuzu-9bdf09bd768f73073e9d1cbc65febfd7f7955db3.tar.xz yuzu-9bdf09bd768f73073e9d1cbc65febfd7f7955db3.tar.zst yuzu-9bdf09bd768f73073e9d1cbc65febfd7f7955db3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/host_shaders/present_bicubic.frag | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/video_core/host_shaders/present_bicubic.frag b/src/video_core/host_shaders/present_bicubic.frag index c57dd2851..c814629cf 100644 --- a/src/video_core/host_shaders/present_bicubic.frag +++ b/src/video_core/host_shaders/present_bicubic.frag @@ -3,22 +3,12 @@ #version 460 core -#ifdef VULKAN - -#define BINDING_COLOR_TEXTURE 1 - -#else // ^^^ Vulkan ^^^ // vvv OpenGL vvv - -#define BINDING_COLOR_TEXTURE 0 - -#endif - layout (location = 0) in vec2 frag_tex_coord; layout (location = 0) out vec4 color; -layout (binding = BINDING_COLOR_TEXTURE) uniform sampler2D color_texture; +layout (binding = 0) uniform sampler2D color_texture; vec4 cubic(float v) { vec4 n = vec4(1.0, 2.0, 3.0, 4.0) - v; |