mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 12:21:11 +00:00
Disable compute support on GL < 4.2. Closes #1591
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user