summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-01 17:08:35 -0400
committerMarek Olšák <[email protected]>2018-04-05 15:34:58 -0400
commitc424f86180d8c0c2c0e6b18b34564c5dc0c53942 (patch)
tree8c4013b9e0d5cd26ac8338815c1025c9d83df454 /src/gallium/drivers/radeon
parent2a62e5eec92bc98c8c20e0b72cab4e14d112b2a4 (diff)
radeonsi: use si_context instead of pipe_context in parameters pt1
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/r600_query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/r600_query.c b/src/gallium/drivers/radeon/r600_query.c
index 7f924615b75..a29b2014224 100644
--- a/src/gallium/drivers/radeon/r600_query.c
+++ b/src/gallium/drivers/radeon/r600_query.c
@@ -715,7 +715,7 @@ static void r600_update_occlusion_query_state(struct si_context *sctx,
perfect_enable = sctx->b.num_perfect_occlusion_queries != 0;
if (enable != old_enable || perfect_enable != old_perfect_enable) {
- si_set_occlusion_query_state(&sctx->b.b, old_perfect_enable);
+ si_set_occlusion_query_state(sctx, old_perfect_enable);
}
}
}
@@ -1661,7 +1661,7 @@ static void r600_query_hw_get_result_resource(struct si_context *sctx,
return;
}
- si_save_qbo_state(&sctx->b.b, &saved_state);
+ si_save_qbo_state(sctx, &saved_state);
r600_get_hw_query_params(sctx, query, index >= 0 ? index : 0, &params);
consts.end_offset = params.end_offset - params.start_offset;