summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_manager.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-05-22 01:28:09 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-05-30 18:21:01 +0200
commitb76df62c00c28244f2fdd657b809853907f0070f (patch)
treedfba6fc3c4fa662f9ee6825595597596811873ec /src/video_core/renderer_opengl/gl_shader_manager.h
parentgl_rasterizer: Use GL_QUADS to emulate quads rendering (diff)
downloadyuzu-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.h8
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");