diff options
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h index ebe88182af4..9d3deb4e886 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.h +++ b/src/gallium/drivers/llvmpipe/lp_rast.h @@ -210,6 +210,14 @@ lp_rast_arg_null( void ) return arg; } +static INLINE union lp_rast_cmd_arg +lp_rast_arg_query( struct llvmpipe_query *pq ) +{ + union lp_rast_cmd_arg arg; + arg.query_obj = pq; + return arg; +} + /** * Binnable Commands. @@ -256,6 +264,9 @@ void lp_rast_store_linear_color( struct lp_rasterizer_task *, void lp_rast_begin_query(struct lp_rasterizer_task *, const union lp_rast_cmd_arg ); +void lp_rast_restart_query(struct lp_rasterizer_task *, + const union lp_rast_cmd_arg ); + void lp_rast_end_query(struct lp_rasterizer_task *, const union lp_rast_cmd_arg ); |