aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl/util_shaders.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-07-04 22:48:41 -0400
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-31 21:36:26 -0400
commit5665d055476fa793192523c3cb6fe06369d58674 (patch)
tree45a3ed50774c2106dcbeee9d38415f057d64a6fe /src/video_core/renderer_opengl/util_shaders.h
parent15c0c213b1efb63f1d6f4900409fca8c8984e973 (diff)
astc_decoder: Optimize the use EncodingData
This buffer was a list of EncodingData structures sorted by their bit length, with some duplication from the cpu decoder implementation. We can take advantage of its sorted property to optimize its usage in the shader. Thanks to wwylele for the optimization idea.
Diffstat (limited to 'src/video_core/renderer_opengl/util_shaders.h')
-rw-r--r--src/video_core/renderer_opengl/util_shaders.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/util_shaders.h b/src/video_core/renderer_opengl/util_shaders.h
index 53d65f368..ef881e35f 100644
--- a/src/video_core/renderer_opengl/util_shaders.h
+++ b/src/video_core/renderer_opengl/util_shaders.h
@@ -62,7 +62,6 @@ private:
ProgramManager& program_manager;
OGLBuffer swizzle_table_buffer;
- OGLBuffer astc_buffer;
OGLProgram astc_decoder_program;
OGLProgram block_linear_unswizzle_2d_program;