diff options
| author | Liam <byteslice@airmail.cc> | 2024-01-18 11:44:13 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2024-01-31 11:27:21 -0500 |
| commit | 9bdf09bd768f73073e9d1cbc65febfd7f7955db3 (patch) | |
| tree | 7d29d4c4f61f4c0272056af2370a2c75a769f7d6 /src/video_core/host_shaders/present_gaussian.frag | |
| parent | d4de04584f14f3ea8fde4cd79102b887c084fbc2 (diff) | |
renderer_vulkan: implement layer stack composition
Diffstat (limited to 'src/video_core/host_shaders/present_gaussian.frag')
| -rw-r--r-- | src/video_core/host_shaders/present_gaussian.frag | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/video_core/host_shaders/present_gaussian.frag b/src/video_core/host_shaders/present_gaussian.frag index 5f54b71b6..ad9bb76a4 100644 --- a/src/video_core/host_shaders/present_gaussian.frag +++ b/src/video_core/host_shaders/present_gaussian.frag @@ -7,21 +7,11 @@ #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; const float offset[3] = float[](0.0, 1.3846153846, 3.2307692308); const float weight[3] = float[](0.2270270270, 0.3162162162, 0.0702702703); |
