mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: comment point_sampler
It is not enabled on the shader so I will reuse the bit
This commit is contained in:
parent
3fcac07120
commit
6d65867b26
|
@ -595,7 +595,7 @@ GLuint GSDeviceOGL::CompilePS(PSSelector sel)
|
|||
+ format("#define PS_DATE %d\n", sel.date)
|
||||
+ format("#define PS_SPRITEHACK %d\n", sel.spritehack)
|
||||
+ format("#define PS_TCOFFSETHACK %d\n", sel.tcoffsethack)
|
||||
+ format("#define PS_POINT_SAMPLER %d\n", sel.point_sampler)
|
||||
//+ format("#define PS_POINT_SAMPLER %d\n", sel.point_sampler)
|
||||
+ format("#define PS_IIP %d\n", sel.iip)
|
||||
+ format("#define PS_SPRITE %d\n", sel.sprite)
|
||||
;
|
||||
|
|
|
@ -328,7 +328,7 @@ class GSDeviceOGL : public GSDevice
|
|||
uint32 date:3;
|
||||
uint32 spritehack:1;
|
||||
uint32 tcoffsethack:1;
|
||||
uint32 point_sampler:1;
|
||||
//uint32 point_sampler:1; Not tested, so keep the bit for blend
|
||||
uint32 iip:1;
|
||||
uint32 sprite:1;
|
||||
// Next param will be handle by subroutine
|
||||
|
|
|
@ -460,7 +460,7 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour
|
|||
// FIXME the ati is currently disabled on the shader. I need to find a .gs to test that we got same
|
||||
// bug on opengl
|
||||
// FIXME for the moment disable it on subroutine (it will kill my perf for nothings)
|
||||
ps_sel.point_sampler = 0; // !(bilinear && simple_sample) && !GLLoader::found_GL_ARB_shader_subroutine;
|
||||
//ps_sel.point_sampler = 0; // !(bilinear && simple_sample) && !GLLoader::found_GL_ARB_shader_subroutine;
|
||||
|
||||
int w = tex->m_texture->GetWidth();
|
||||
int h = tex->m_texture->GetHeight();
|
||||
|
|
Loading…
Reference in New Issue