diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-16 03:33:43 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-17 01:49:13 +0200 |
commit | 22162f906b73b6b1a43be1df9d828746b8dbd216 (patch) | |
tree | a88c43c2a84fea78e6c9b81908775b3f425cbe7a /src/video_core/host_shaders | |
parent | gl_texture_cache: Migrate BGRCopyPass from util_shaders (diff) | |
download | yuzu-22162f906b73b6b1a43be1df9d828746b8dbd216.tar yuzu-22162f906b73b6b1a43be1df9d828746b8dbd216.tar.gz yuzu-22162f906b73b6b1a43be1df9d828746b8dbd216.tar.bz2 yuzu-22162f906b73b6b1a43be1df9d828746b8dbd216.tar.lz yuzu-22162f906b73b6b1a43be1df9d828746b8dbd216.tar.xz yuzu-22162f906b73b6b1a43be1df9d828746b8dbd216.tar.zst yuzu-22162f906b73b6b1a43be1df9d828746b8dbd216.zip |
Diffstat (limited to 'src/video_core/host_shaders')
-rw-r--r-- | src/video_core/host_shaders/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/video_core/host_shaders/opengl_copy_bgra.comp | 15 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/video_core/host_shaders/CMakeLists.txt b/src/video_core/host_shaders/CMakeLists.txt index c9cff7450..20d748c12 100644 --- a/src/video_core/host_shaders/CMakeLists.txt +++ b/src/video_core/host_shaders/CMakeLists.txt @@ -6,7 +6,6 @@ set(SHADER_FILES convert_float_to_depth.frag full_screen_triangle.vert opengl_copy_bc4.comp - opengl_copy_bgra.comp opengl_present.frag opengl_present.vert pitch_unswizzle.comp diff --git a/src/video_core/host_shaders/opengl_copy_bgra.comp b/src/video_core/host_shaders/opengl_copy_bgra.comp deleted file mode 100644 index 2571a4abf..000000000 --- a/src/video_core/host_shaders/opengl_copy_bgra.comp +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2021 yuzu Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#version 430 core - -layout (local_size_x = 4, local_size_y = 4) in; - -layout(binding = 0, rgba8) readonly uniform image2DArray bgr_input; -layout(binding = 1, rgba8) writeonly uniform image2DArray bgr_output; - -void main() { - vec4 color = imageLoad(bgr_input, ivec3(gl_GlobalInvocationID)); - imageStore(bgr_output, ivec3(gl_GlobalInvocationID), color.bgra); -} |