Skip to content
Permalink
Browse files

gsdx ogl: enable sparse feature on GSdevice interface

Note: remain
* To really use sparse texture
* To debug it ^^
  • Loading branch information...
gregory38 authored and lightningterror committed Feb 7, 2019
1 parent 16d5f47 commit ba782e90c8d1e79896a156c788caf0c58304117b
Showing with 2 additions and 0 deletions.
  1. +2 −0 plugins/GSdx/Renderers/OpenGL/GSDeviceOGL.h
@@ -563,6 +563,8 @@ class GSDeviceOGL final : public GSDevice
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);

0 comments on commit ba782e9

Please sign in to comment.
You can’t perform that action at this time.