gsdx ogl: enable sparse feature on GSdevice interface

Note: remain
* To really use sparse texture
* To debug it ^^
This commit is contained in:
Gregory Hainaut 2019-02-07 12:20:23 +01:00 committed by lightningterror
parent 16d5f477ff
commit ba782e90c8
1 changed files with 2 additions and 0 deletions

View File

@ -563,6 +563,8 @@ public:
void OMSetRenderTargets(GSTexture* rt, GSTexture* ds, const GSVector4i* scissor = NULL) final;
void OMSetColorMaskState(OMColorMaskSelector sel = OMColorMaskSelector());
virtual bool HasColorSparse() { return GLLoader::found_compatible_GL_ARB_sparse_texture2; }
virtual bool HasDepthSparse() { return GLLoader::found_compatible_sparse_depth; }
void CreateTextureFX();
GLuint CompileVS(VSSelector sel);