mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 15:45:58 +00:00
VideoCommon: add constant value to set the allowed maximum number of pixel samplers
This commit is contained in:
parent
a88e5ef390
commit
af313f8419
18 changed files with 62 additions and 36 deletions
|
@ -4,6 +4,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "VideoCommon/AbstractGfx.h"
|
||||
#include "VideoCommon/Constants.h"
|
||||
|
||||
class GLContext;
|
||||
|
||||
|
@ -100,7 +101,7 @@ private:
|
|||
|
||||
std::unique_ptr<GLContext> m_main_gl_context;
|
||||
std::unique_ptr<OGLFramebuffer> m_system_framebuffer;
|
||||
std::array<const OGLTexture*, 8> m_bound_textures{};
|
||||
std::array<const OGLTexture*, VideoCommon::MAX_PIXEL_SHADER_SAMPLERS> m_bound_textures{};
|
||||
AbstractTexture* m_bound_image_texture = nullptr;
|
||||
RasterizationState m_current_rasterization_state;
|
||||
DepthState m_current_depth_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue