struct brw_query_object *query)
{
struct brw_context *brw = brw_context(ctx);
- const struct gen_device_info *devinfo = &brw->screen->devinfo;
+ UNUSED const struct gen_device_info *devinfo = &brw->screen->devinfo;
int i;
uint64_t *results;
{
struct brw_context *brw = brw_context(ctx);
struct brw_query_object *query = (struct brw_query_object *)q;
- const struct gen_device_info *devinfo = &brw->screen->devinfo;
+ UNUSED const struct gen_device_info *devinfo = &brw->screen->devinfo;
assert(devinfo->gen < 6);
{
struct brw_context *brw = brw_context(ctx);
struct brw_query_object *query = (struct brw_query_object *)q;
- const struct gen_device_info *devinfo = &brw->screen->devinfo;
+ UNUSED const struct gen_device_info *devinfo = &brw->screen->devinfo;
assert(devinfo->gen < 6);
static void brw_wait_query(struct gl_context *ctx, struct gl_query_object *q)
{
struct brw_query_object *query = (struct brw_query_object *)q;
- const struct gen_device_info *devinfo = &brw_context(ctx)->screen->devinfo;
+ UNUSED const struct gen_device_info *devinfo =
+ &brw_context(ctx)->screen->devinfo;
assert(devinfo->gen < 6);
{
struct brw_context *brw = brw_context(ctx);
struct brw_query_object *query = (struct brw_query_object *)q;
- const struct gen_device_info *devinfo = &brw->screen->devinfo;
+ UNUSED const struct gen_device_info *devinfo = &brw->screen->devinfo;
assert(devinfo->gen < 6);
ensure_bo_has_space(struct gl_context *ctx, struct brw_query_object *query)
{
struct brw_context *brw = brw_context(ctx);
- const struct gen_device_info *devinfo = &brw->screen->devinfo;
+ UNUSED const struct gen_device_info *devinfo = &brw->screen->devinfo;
assert(devinfo->gen < 6);