Disable compute support on GL < 4.2. Closes #1591

This commit is contained in:
baldurk committed 2019-11-12 20:44:35 +00:00
1 parent b35eca4a62
commit 88879dd349
2 files changed
+6 -7

No files matched your search

+6
View File
@@ -474,6 +474,12 @@ void FetchEnabledExtensions()
HasExt[ARB_program_interface_query] = false;
}
if(!IsGLES && GLCoreVersion < 42 && HasExt[ARB_compute_shader])
{
RDCERR("GL implementation has ARB_compute_shader but is not at least 4.2. Disabling compute.");
HasExt[ARB_compute_shader] = false;
}
}
void DoVendorChecks(GLPlatform &platform, GLWindowingData context)
-7
View File
@@ -762,13 +762,6 @@ void GLReplay::InitDebugData()
RenderDoc::Inst().SetProgress(LoadProgress::DebugManagerInit, 0.6f);
if(HasExt[ARB_compute_shader] && !HasExt[ARB_shading_language_420pack])
{
RDCERR(
"GL implementation has ARB_compute_shader but not ARB_shading_language_420pack! "
"Compute shaders won't compile successfully.");
}
// histogram/minmax data
{
RDCEraseEl(DebugData.minmaxTileProgram);