diff options
author | Marek Olšák <[email protected]> | 2018-04-08 20:54:02 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-27 17:56:04 -0400 |
commit | 639b673fc3b8754dc85fd686dab6ac26738dc3d9 (patch) | |
tree | 353c2bc5c3ed7b9c5caceab4cbd452df35c2b39c /src/gallium/drivers/radeonsi/si_query.c | |
parent | 9054799b39e41e5aae6dde6bc6bebbd23abdd558 (diff) |
radeonsi: don't use an indirect table for state atoms
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_query.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_query.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_query.c b/src/gallium/drivers/radeonsi/si_query.c index 7d94194f300..d1b519e5508 100644 --- a/src/gallium/drivers/radeonsi/si_query.c +++ b/src/gallium/drivers/radeonsi/si_query.c @@ -1776,7 +1776,7 @@ static void si_render_condition(struct pipe_context *ctx, { struct si_context *sctx = (struct si_context *)ctx; struct si_query_hw *rquery = (struct si_query_hw *)query; - struct si_atom *atom = &sctx->render_cond_atom; + struct si_atom *atom = &sctx->atoms.s.render_cond; if (query) { bool needs_workaround = false; @@ -2053,7 +2053,7 @@ void si_init_query_functions(struct si_context *sctx) sctx->b.end_query = si_end_query; sctx->b.get_query_result = si_get_query_result; sctx->b.get_query_result_resource = si_get_query_result_resource; - sctx->render_cond_atom.emit = si_emit_query_predication; + sctx->atoms.s.render_cond.emit = si_emit_query_predication; if (((struct si_screen*)sctx->b.screen)->info.num_render_backends > 0) sctx->b.render_condition = si_render_condition; |