mesa/swrast/st: add ARB_occlusion_query2 support.
This gets my vote for most pointless extension of all time, I'm guessing some driver could possibly optimise for this instead of counting it might just get a true/false, but I'm not really sure. need this to eventually advertise 3.3 despite its total uselessness. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -343,6 +343,7 @@ void st_init_extensions(struct st_context *st)
|
||||
|
||||
if (screen->get_param(screen, PIPE_CAP_OCCLUSION_QUERY)) {
|
||||
ctx->Extensions.ARB_occlusion_query = GL_TRUE;
|
||||
ctx->Extensions.ARB_occlusion_query2 = GL_TRUE;
|
||||
}
|
||||
if (screen->get_param(screen, PIPE_CAP_TIMER_QUERY)) {
|
||||
ctx->Extensions.EXT_timer_query = GL_TRUE;
|
||||
|
Reference in New Issue
Block a user