From 49b493ddd0bd6718fe02258a070121f5f4aa10d8 Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Sun, 5 Sep 2010 08:27:12 +0200 Subject: nvfx: pause occlusion queries during blitter usage Thanks for Dave Airlie and Jerome Glisse for their code which made me realize I need this too. --- src/gallium/drivers/nvfx/nvfx_context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/nvfx/nvfx_context.h') diff --git a/src/gallium/drivers/nvfx/nvfx_context.h b/src/gallium/drivers/nvfx/nvfx_context.h index 369c2163882..a164ba6c10b 100644 --- a/src/gallium/drivers/nvfx/nvfx_context.h +++ b/src/gallium/drivers/nvfx/nvfx_context.h @@ -177,6 +177,7 @@ struct nvfx_context { struct nvfx_sampler_state *tex_sampler[PIPE_MAX_SAMPLERS]; struct pipe_sampler_view *fragment_sampler_views[PIPE_MAX_SAMPLERS]; struct nvfx_pipe_fragment_program* dummy_fs; + struct pipe_query* query; unsigned nr_samplers; unsigned nr_textures; -- cgit v1.2.3