mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
Missed changes
This commit is contained in:
parent
083c4fc855
commit
8637754d6a
2 changed files with 3 additions and 4 deletions
|
@ -427,7 +427,7 @@ void GLGSRender::on_exit()
|
||||||
{
|
{
|
||||||
glDisable(GL_VERTEX_PROGRAM_POINT_SIZE);
|
glDisable(GL_VERTEX_PROGRAM_POINT_SIZE);
|
||||||
|
|
||||||
m_prog_buffer.clear();
|
programs_cache.clear();
|
||||||
|
|
||||||
if (draw_fbo)
|
if (draw_fbo)
|
||||||
draw_fbo.remove();
|
draw_fbo.remove();
|
||||||
|
@ -542,8 +542,8 @@ bool GLGSRender::load_program()
|
||||||
m_program->use();
|
m_program->use();
|
||||||
|
|
||||||
// u32 fragment_constants_sz = m_prog_buffer.get_fragment_constants_buffer_size(fragment_program);
|
// u32 fragment_constants_sz = m_prog_buffer.get_fragment_constants_buffer_size(fragment_program);
|
||||||
info.fragment_shader.decompiled->constants.size() * sizeof(f32) * 4;
|
u32 fragment_constants_sz = info.fragment_shader.decompiled->constants.size() * sizeof(f32) * 4;
|
||||||
u32 fragment_constants_sz = fragment_constants_sz = std::max(32U, fragment_constants_sz);
|
fragment_constants_sz = std::max(32U, fragment_constants_sz);
|
||||||
u32 max_buffer_sz = 8192 + 512 + fragment_constants_sz;
|
u32 max_buffer_sz = 8192 + 512 + fragment_constants_sz;
|
||||||
|
|
||||||
u32 is_alpha_tested = !!(rsx::method_registers[NV4097_SET_ALPHA_TEST_ENABLE]);
|
u32 is_alpha_tested = !!(rsx::method_registers[NV4097_SET_ALPHA_TEST_ENABLE]);
|
||||||
|
|
|
@ -41,7 +41,6 @@ public:
|
||||||
gl::fbo draw_fbo;
|
gl::fbo draw_fbo;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
GLProgramBuffer m_prog_buffer;
|
|
||||||
|
|
||||||
//buffer
|
//buffer
|
||||||
gl::fbo m_flip_fbo;
|
gl::fbo m_flip_fbo;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue