mesa: expose NV_conditional_render on GLES
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 1 Nov 2018 12:28:25 +0000 (13:28 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 9 Nov 2018 12:03:00 +0000 (13:03 +0100)
The extension spec has been updated to include GLES 2 support, so let's
enable it there.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mapi/glapi/gen/NV_conditional_render.xml
src/mesa/main/extensions_table.h

index 926b26294121863a03f3fb190d23109ec162291f..4b28c466f7d7d8b72210ea45b7111ae2f839ba18 100644 (file)
     <enum name="QUERY_BY_REGION_WAIT_NV"     value="0x8E15"/>
     <enum name="QUERY_BY_REGION_NO_WAIT_NV"  value="0x8E16"/>
 
-    <function name="BeginConditionalRenderNV" alias="BeginConditionalRender">
+    <function name="BeginConditionalRenderNV" alias="BeginConditionalRender" es2="2.0">
        <param name="query" type="GLuint"/>
        <param name="mode" type="GLenum"/>
     </function>
 
-    <function name="EndConditionalRenderNV" alias="EndConditionalRender">
+    <function name="EndConditionalRenderNV" alias="EndConditionalRender" es2="2.0">
     </function>
 
 </category>
index a516a1b17f8992c77ab664a64b67daf1f58f5ab7..04a319271e0b3cc91171e3fab117a8b982b3a9f7 100644 (file)
@@ -345,7 +345,7 @@ EXT(MESA_ycbcr_texture                      , MESA_ycbcr_texture
 EXT(NVX_gpu_memory_info                     , NVX_gpu_memory_info                    , GLL, GLC,  x ,  x , 2013)
 
 EXT(NV_blend_square                         , dummy_true                             , GLL,  x ,  x ,  x , 1999)
-EXT(NV_conditional_render                   , NV_conditional_render                  , GLL, GLC,  x ,  x , 2008)
+EXT(NV_conditional_render                   , NV_conditional_render                  , GLL, GLC,  x , ES2, 2008)
 EXT(NV_conservative_raster                  , NV_conservative_raster                 , GLL, GLC, ES1, ES2, 2015)
 EXT(NV_conservative_raster_dilate           , NV_conservative_raster_dilate          , GLL, GLC, ES1, ES2, 2015)
 EXT(NV_conservative_raster_pre_snap         , NV_conservative_raster_pre_snap        , GLL, GLC, ES1, ES2, 2017)