diff options
author | Marek Olšák <[email protected]> | 2016-12-02 03:39:04 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-12-07 18:46:54 +0100 |
commit | f2b0c66c3c012023433874b6e28f8cc8c3f64139 (patch) | |
tree | d3eb7786de449a26de5fc46b896601b39f78185e /src/gallium/drivers/radeonsi/si_blit.c | |
parent | 38d4859b9465146189c234cd372de9d3eee86a92 (diff) |
radeonsi: properly declare context sampler states
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_blit.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c index f5f49c1380c..83870e507b9 100644 --- a/src/gallium/drivers/radeonsi/si_blit.c +++ b/src/gallium/drivers/radeonsi/si_blit.c @@ -78,7 +78,7 @@ static void si_blitter_begin(struct pipe_context *ctx, enum si_blitter_op op) if (op & SI_SAVE_TEXTURES) { util_blitter_save_fragment_sampler_states( sctx->blitter, 2, - sctx->samplers[PIPE_SHADER_FRAGMENT].views.sampler_states); + (void**)sctx->samplers[PIPE_SHADER_FRAGMENT].views.sampler_states); util_blitter_save_fragment_sampler_views(sctx->blitter, 2, sctx->samplers[PIPE_SHADER_FRAGMENT].views.views); |