diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-22 01:28:09 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-30 18:21:01 +0200 |
commit | b76df62c00c28244f2fdd657b809853907f0070f (patch) | |
tree | dfba6fc3c4fa662f9ee6825595597596811873ec /src/video_core/renderer_opengl/gl_shader_manager.h | |
parent | gl_rasterizer: Use GL_QUADS to emulate quads rendering (diff) | |
download | yuzu-b76df62c00c28244f2fdd657b809853907f0070f.tar yuzu-b76df62c00c28244f2fdd657b809853907f0070f.tar.gz yuzu-b76df62c00c28244f2fdd657b809853907f0070f.tar.bz2 yuzu-b76df62c00c28244f2fdd657b809853907f0070f.tar.lz yuzu-b76df62c00c28244f2fdd657b809853907f0070f.tar.xz yuzu-b76df62c00c28244f2fdd657b809853907f0070f.tar.zst yuzu-b76df62c00c28244f2fdd657b809853907f0070f.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_manager.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_manager.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_manager.h b/src/video_core/renderer_opengl/gl_shader_manager.h index cec18a832..6961e702a 100644 --- a/src/video_core/renderer_opengl/gl_shader_manager.h +++ b/src/video_core/renderer_opengl/gl_shader_manager.h @@ -27,14 +27,8 @@ struct MaxwellUniformData { GLuint flip_stage; GLfloat y_direction; }; - struct alignas(16) { - GLuint enabled; - GLuint func; - GLfloat ref; - GLuint padding; - } alpha_test; }; -static_assert(sizeof(MaxwellUniformData) == 48, "MaxwellUniformData structure size is incorrect"); +static_assert(sizeof(MaxwellUniformData) == 32, "MaxwellUniformData structure size is incorrect"); static_assert(sizeof(MaxwellUniformData) < 16384, "MaxwellUniformData structure must be less than 16kb as per the OpenGL spec"); |