diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-12-09 03:22:14 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-12-09 12:12:50 +1100 |
commit | b8965bee404cb36ccd97ac089fbd3ffc63268080 (patch) | |
tree | c303b5737dd51f9cecc79a76389b63dc79f9f8a8 /src/mesa/pipe/nv50/nv50_query.c | |
parent | 274a3d9cb6a196c1b191769f581915cf5f8dccfe (diff) |
nouveau: adapt to gallium interface changes
Diffstat (limited to 'src/mesa/pipe/nv50/nv50_query.c')
-rw-r--r-- | src/mesa/pipe/nv50/nv50_query.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mesa/pipe/nv50/nv50_query.c b/src/mesa/pipe/nv50/nv50_query.c index 1ce48943b9..51cf6804d7 100644 --- a/src/mesa/pipe/nv50/nv50_query.c +++ b/src/mesa/pipe/nv50/nv50_query.c @@ -3,21 +3,28 @@ #include "nv50_context.h" #include "nv50_dma.h" -void +static void nv50_query_begin(struct pipe_context *pipe, struct pipe_query_object *q) { NOUVEAU_ERR("unimplemented\n"); } -void +static void nv50_query_end(struct pipe_context *pipe, struct pipe_query_object *q) { NOUVEAU_ERR("unimplemented\n"); } -void +static void nv50_query_wait(struct pipe_context *pipe, struct pipe_query_object *q) { NOUVEAU_ERR("unimplemented\n"); } +void +nv50_init_query_functions(struct nv50_context *nv50) +{ + nv50->pipe.begin_query = nv50_query_begin; + nv50->pipe.end_query = nv50_query_end; + nv50->pipe.wait_query = nv50_query_wait; +} |