diff options
author | Subv <subv2112@gmail.com> | 2018-04-14 18:50:15 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-04-15 06:02:05 +0200 |
commit | c9b511da084bcf1655a7e844ee0d80e46ce681c9 (patch) | |
tree | f0c06f5bbcc0f8e7ea6d3681060c12936e887359 /src/video_core/renderer_opengl/gl_shader_manager.h | |
parent | GPU: Allow configuring ssbos in the opengl state manager. (diff) | |
download | yuzu-c9b511da084bcf1655a7e844ee0d80e46ce681c9.tar yuzu-c9b511da084bcf1655a7e844ee0d80e46ce681c9.tar.gz yuzu-c9b511da084bcf1655a7e844ee0d80e46ce681c9.tar.bz2 yuzu-c9b511da084bcf1655a7e844ee0d80e46ce681c9.tar.lz yuzu-c9b511da084bcf1655a7e844ee0d80e46ce681c9.tar.xz yuzu-c9b511da084bcf1655a7e844ee0d80e46ce681c9.tar.zst yuzu-c9b511da084bcf1655a7e844ee0d80e46ce681c9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_manager.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_manager.h b/src/video_core/renderer_opengl/gl_shader_manager.h index 5c8560cf5..f003ce532 100644 --- a/src/video_core/renderer_opengl/gl_shader_manager.h +++ b/src/video_core/renderer_opengl/gl_shader_manager.h @@ -30,11 +30,10 @@ void SetShaderSamplerBindings(GLuint shader); // Not following that rule will cause problems on some AMD drivers. struct MaxwellUniformData { void SetFromRegs(const Maxwell3D::State::ShaderStageInfo& shader_stage); - - using ConstBuffer = std::array<GLvec4, 4>; - alignas(16) std::array<ConstBuffer, Maxwell3D::Regs::MaxConstBuffers> const_buffers; + // TODO(Subv): Use this for something. }; -static_assert(sizeof(MaxwellUniformData) == 1024, "MaxwellUniformData structure size is incorrect"); +// static_assert(sizeof(MaxwellUniformData) == 1024, "MaxwellUniformData structure size is +// incorrect"); static_assert(sizeof(MaxwellUniformData) < 16384, "MaxwellUniformData structure must be less than 16kb as per the OpenGL spec"); |