VERY experimental Nintendo Switch 2 emulator
C++
host_shaders: Remove opengl_copy_bgra.comp
ameerj933b5dff6158
diff --git a/src/video_core/host_shaders/CMakeLists.txt b/src/video_core/host_shaders/CMakeLists.txtindex c9cff74503..20d748c12d 100644--- a/src/video_core/host_shaders/CMakeLists.txt+++ b/src/video_core/host_shaders/CMakeLists.txt@@ -6,7 +6,6 @@ set(SHADER_FILESconvert_float_to_depth.fragfull_screen_triangle.vertopengl_copy_bc4.comp- opengl_copy_bgra.compopengl_present.fragopengl_present.vertpitch_unswizzle.compdiff --git a/src/video_core/host_shaders/opengl_copy_bgra.comp b/src/video_core/host_shaders/opengl_copy_bgra.compdeleted file mode 100644index 2571a4abf1..0000000000--- 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);-}diff --git a/src/video_core/renderer_opengl/util_shaders.cpp b/src/video_core/renderer_opengl/util_shaders.cppindex b4083cc36b..897c380b3b 100644--- a/src/video_core/renderer_opengl/util_shaders.cpp+++ b/src/video_core/renderer_opengl/util_shaders.cpp@@ -14,7 +14,6 @@#include "video_core/host_shaders/block_linear_unswizzle_2d_comp.h"#include "video_core/host_shaders/block_linear_unswizzle_3d_comp.h"#include "video_core/host_shaders/opengl_copy_bc4_comp.h"-#include "video_core/host_shaders/opengl_copy_bgra_comp.h"#include "video_core/host_shaders/pitch_unswizzle_comp.h"#include "video_core/renderer_opengl/gl_shader_manager.h"#include "video_core/renderer_opengl/gl_shader_util.h"@@ -51,7 +50,6 @@ UtilShaders::UtilShaders(ProgramManager& program_manager_)block_linear_unswizzle_2d_program(MakeProgram(BLOCK_LINEAR_UNSWIZZLE_2D_COMP)),block_linear_unswizzle_3d_program(MakeProgram(BLOCK_LINEAR_UNSWIZZLE_3D_COMP)),pitch_unswizzle_program(MakeProgram(PITCH_UNSWIZZLE_COMP)),- copy_bgra_program(MakeProgram(OPENGL_COPY_BGRA_COMP)),copy_bc4_program(MakeProgram(OPENGL_COPY_BC4_COMP)) {const auto swizzle_table = Tegra::Texture::MakeSwizzleTable();swizzle_table_buffer.Create();diff --git a/src/video_core/renderer_opengl/util_shaders.h b/src/video_core/renderer_opengl/util_shaders.hindex aaa5fba3a7..5de95ea7ac 100644--- a/src/video_core/renderer_opengl/util_shaders.h+++ b/src/video_core/renderer_opengl/util_shaders.h@@ -48,7 +48,6 @@ private:OGLProgram block_linear_unswizzle_2d_program;OGLProgram block_linear_unswizzle_3d_program;OGLProgram pitch_unswizzle_program;- OGLProgram copy_bgra_program;OGLProgram copy_bc4_program;};