Revert "More strict compute shader test;"

This reverts commit 61abb6f02b.
This commit is contained in:
bjorn 2020-09-29 17:30:50 -06:00
parent 92936f6977
commit 96fee538b9
1 changed files with 1 additions and 1 deletions

View File

@ -1250,7 +1250,7 @@ void lovrGpuInit(void* (*getProcAddress)(const char*), bool debug) {
glDebugMessageCallback(onMessage, NULL);
}
state.features.astc = GLAD_GL_ES_VERSION_3_2;
state.features.compute = GLAD_GL_ES_VERSION_3_1 || (GLVersion.major > 4 || (GLVersion.major >= 4 && GLVersion.minor >= 3));
state.features.compute = GLAD_GL_ES_VERSION_3_1 || GLAD_GL_ARB_compute_shader;
state.features.dxt = GLAD_GL_EXT_texture_compression_s3tc;
state.features.instancedStereo = GLAD_GL_ARB_viewport_array && GLAD_GL_AMD_vertex_shader_viewport_index && GLAD_GL_ARB_fragment_layer_viewport;
state.features.multiview = GLAD_GL_ES_VERSION_3_0 && GLAD_GL_OVR_multiview2 && GLAD_GL_OVR_multiview_multisampled_render_to_texture;