diff options
author | Marek Olšák <[email protected]> | 2015-08-28 23:52:47 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-09-01 21:51:13 +0200 |
commit | 5bb0ad7ccc74e3aa69a1d55d2f7935587288312c (patch) | |
tree | 7a028c33da3a8ac8ab5db576135ade82795e57eb /src/gallium/drivers/radeonsi/si_hw_context.c | |
parent | e191c58324ebd5c37223a5a2c16701d236bd9cb4 (diff) |
radeonsi: call si_init_atom for remaining radeonsi atoms
I need to initialize more atom IDs.
This adds 4 more si_init_atom calls, which simplifies the code.
(si_init_atom needs a different context type of the emit functions though)
Reviewed-by: Alex Deucher <[email protected]>
Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_hw_context.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_hw_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_hw_context.c b/src/gallium/drivers/radeonsi/si_hw_context.c index 5ef5db73aeb..f821ad33ff3 100644 --- a/src/gallium/drivers/radeonsi/si_hw_context.c +++ b/src/gallium/drivers/radeonsi/si_hw_context.c @@ -123,7 +123,7 @@ void si_context_gfx_flush(void *context, unsigned flags, SI_CONTEXT_INV_TC_L2 | /* this is probably not needed anymore */ SI_CONTEXT_PS_PARTIAL_FLUSH; - si_emit_cache_flush(&ctx->b, NULL); + si_emit_cache_flush(ctx, NULL); /* force to keep tiling flags */ flags |= RADEON_FLUSH_KEEP_TILING_FLAGS; |