mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-11 10:07:14 +00:00
Check for SSBO support before introspecting programs for SSBO binds
This commit is contained in:
@@ -2035,7 +2035,7 @@ static void ForAllProgramUniforms(const GLHookSet &gl, Serialiser *ser, GLuint p
|
||||
}
|
||||
|
||||
GLint numSSBOs = 0;
|
||||
if(CheckConstParam(ReadSourceProgram))
|
||||
if(CheckConstParam(ReadSourceProgram) && HasExt[ARB_shader_storage_buffer_object])
|
||||
gl.glGetProgramInterfaceiv(progSrc, eGL_SHADER_STORAGE_BLOCK, eGL_ACTIVE_RESOURCES, &numSSBOs);
|
||||
|
||||
if(CheckConstParam(SerialiseUniforms))
|
||||
|
||||
Reference in New Issue
Block a user