vrend: Add GL_ARB_uniform_buffer_object for gles

Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
macos/master
Jakob Bornecrantz 7 years ago
parent e57359eeb4
commit a7c7117319
  1. 7
      src/vrend_renderer.c

@ -6730,6 +6730,13 @@ void vrend_renderer_fill_caps_gles(uint32_t set, uint32_t version,
caps->v1.bset.primitive_restart = 1; caps->v1.bset.primitive_restart = 1;
} }
if (gles_ver >= 30) {
caps->v1.bset.instanceid = 1;
glGetIntegerv(GL_MAX_VERTEX_UNIFORM_BLOCKS, &max);
vrend_state.max_uniform_blocks = max;
caps->v1.max_uniform_blocks = max + 1;
}
if (gles_ver >= 30) { if (gles_ver >= 30) {
caps->v1.bset.texture_multisample = 1; caps->v1.bset.texture_multisample = 1;
} }

Loading…
Cancel
Save