vrend, feature: Add feature for GLES 3.1 compatibility

This is needed for using the right extension in the shaders.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
macos/master
Gert Wollny 6 years ago
parent 95bed95df5
commit 64740cf9f0
  1. 2
      src/vrend_renderer.c

@ -110,6 +110,7 @@ enum features_id
feat_gl_conditional_render, feat_gl_conditional_render,
feat_gl_prim_restart, feat_gl_prim_restart,
feat_gles_khr_robustness, feat_gles_khr_robustness,
feat_gles31_compatibility,
feat_gles31_vertex_attrib_binding, feat_gles31_vertex_attrib_binding,
feat_gpu_shader5, feat_gpu_shader5,
feat_images, feat_images,
@ -190,6 +191,7 @@ static const struct {
FEAT(gl_conditional_render, 30, UNAVAIL, NULL), FEAT(gl_conditional_render, 30, UNAVAIL, NULL),
FEAT(gl_prim_restart, 31, 30, NULL), FEAT(gl_prim_restart, 31, 30, NULL),
FEAT(gles_khr_robustness, UNAVAIL, UNAVAIL, "GL_KHR_robustness" ), FEAT(gles_khr_robustness, UNAVAIL, UNAVAIL, "GL_KHR_robustness" ),
FEAT(gles31_compatibility, 45, 31, "ARB_ES3_1_compatibility" ),
FEAT(gles31_vertex_attrib_binding, 43, 31, "GL_ARB_vertex_attrib_binding" ), FEAT(gles31_vertex_attrib_binding, 43, 31, "GL_ARB_vertex_attrib_binding" ),
FEAT(gpu_shader5, 40, 32, "GL_ARB_gpu_shader5", "GL_EXT_gpu_shader5", "GL_OES_gpu_shader5" ), FEAT(gpu_shader5, 40, 32, "GL_ARB_gpu_shader5", "GL_EXT_gpu_shader5", "GL_OES_gpu_shader5" ),
FEAT(images, 42, 31, "GL_ARB_shader_image_load_store" ), FEAT(images, 42, 31, "GL_ARB_shader_image_load_store" ),

Loading…
Cancel
Save