nv50: add a header file for nv50_query
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 16 Oct 2015 22:14:28 +0000 (00:14 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 30 Oct 2015 16:57:15 +0000 (17:57 +0100)
commit2e3fe0379edd4c0c2c6e87a53b077d77e5fff24e
treec31052a932a518931df479a9bd98ffba9640d570
parente7ed3963ed33134cc214f0a8b8e4b8cb6029887d
nv50: add a header file for nv50_query

Like for nvc0, this will allow to split different types of queries and
to prepare the way for both global performance counters and MP counters.

While we are at it, make use of nv50_query struct instead of pipe_query.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/Makefile.sources
src/gallium/drivers/nouveau/nv50/nv50_context.h
src/gallium/drivers/nouveau/nv50/nv50_query.c
src/gallium/drivers/nouveau/nv50/nv50_query.h [new file with mode: 0644]
src/gallium/drivers/nouveau/nv50/nv50_shader_state.c
src/gallium/drivers/nouveau/nv50/nv50_vbo.c