mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-21 23:40:05 +00:00
gl_rasterizer: Separable shaders for everyone
This commit is contained in:
parent
c281c1a5cc
commit
d22d556d30
@ -77,8 +77,8 @@ RasterizerOpenGL::RasterizerOpenGL(Memory::MemorySystem& memory,
|
|||||||
VideoCore::CustomTexManager& custom_tex_manager,
|
VideoCore::CustomTexManager& custom_tex_manager,
|
||||||
VideoCore::RendererBase& renderer, Driver& driver_)
|
VideoCore::RendererBase& renderer, Driver& driver_)
|
||||||
: VideoCore::RasterizerAccelerated{memory}, driver{driver_},
|
: VideoCore::RasterizerAccelerated{memory}, driver{driver_},
|
||||||
shader_manager{renderer.GetRenderWindow(), driver, !driver.IsOpenGLES()},
|
shader_manager{renderer.GetRenderWindow(), driver, true}, runtime{driver, renderer},
|
||||||
runtime{driver, renderer}, res_cache{memory, custom_tex_manager, runtime, regs, renderer},
|
res_cache{memory, custom_tex_manager, runtime, regs, renderer},
|
||||||
texture_buffer_size{TextureBufferSize()}, vertex_buffer{driver, GL_ARRAY_BUFFER,
|
texture_buffer_size{TextureBufferSize()}, vertex_buffer{driver, GL_ARRAY_BUFFER,
|
||||||
VERTEX_BUFFER_SIZE},
|
VERTEX_BUFFER_SIZE},
|
||||||
uniform_buffer{driver, GL_UNIFORM_BUFFER, UNIFORM_BUFFER_SIZE},
|
uniform_buffer{driver, GL_UNIFORM_BUFFER, UNIFORM_BUFFER_SIZE},
|
||||||
|
Loading…
Reference in New Issue
Block a user