gsdx-ogl: allow to fallback to a slow accurate DATE when GL_ARB_shader_image_load_store isn't supported

The best is still to have a DX11 generation GPU
This commit is contained in:
Gregory Hainaut 2016-05-15 16:29:29 +02:00
parent 5b061e062c
commit 025be70c42
2 changed files with 8 additions and 2 deletions

View File

@ -828,7 +828,13 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour
DATE_GL45 = true;
DATE = false;
} else {
DATE_GL42 = GLLoader::found_GL_ARB_shader_image_load_store;
if (GLLoader::found_GL_ARB_shader_image_load_store) {
DATE_GL42 = true;
} else {
require_barrier = true;
DATE_GL45 = true;
DATE = false;
}
}
}
}

View File

@ -93,7 +93,7 @@ const char* dialog_message(int ID, bool* updateText) {
"It is basically a trade-off between GPU/CPU.";
case IDC_ACCURATE_DATE:
return "Implement a more accurate algorithm to compute GS destination alpha testing.\n\n"
"It could be slower when the effects are used.\n\nNote: it requires the OpenGL 4.2 extension GL_ARB_shader_image_load_store.";
"It could be slower when the effects are used.";
case IDC_ACCURATE_BLEND_UNIT:
return "Control the accuracy level of the GS blending unit emulation.\n\n"
"None:\nFast but introduce various rendering issues. It is intended for slow computer.\n\n"