OpenGL: Raise Minimum SSBO Bindings to 12.
Draw manager requires a minimum of 12 bind points. Pull Request: https://projects.blender.org/blender/blender/pulls/115229
This commit is contained in:
@@ -189,7 +189,7 @@ void GLBackend::platform_init()
|
||||
glGetIntegerv(GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS, &max_ssbo_binds_compute);
|
||||
GLint max_ssbo_binds = min_iii(
|
||||
max_ssbo_binds_vertex, max_ssbo_binds_fragment, max_ssbo_binds_compute);
|
||||
if (max_ssbo_binds < 8) {
|
||||
if (max_ssbo_binds < 12) {
|
||||
std::cout << "Warning: Unsupported platform as it supports max " << max_ssbo_binds
|
||||
<< " SSBO binding locations\n";
|
||||
support_level = GPU_SUPPORT_LEVEL_UNSUPPORTED;
|
||||
|
||||
Reference in New Issue
Block a user