summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_blit.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-10-07 21:53:10 +0200
committerMarek Olšák <[email protected]>2017-10-17 22:03:03 +0200
commit69325fa88ddf425ac208c49b9e9e331d61b9cb5c (patch)
treed36ce82c5a8240e401993232455c908eb03c0f7a /src/gallium/drivers/radeonsi/si_blit.c
parent79c2e7388c7fae877fd2cf90d9ea1730992ef34c (diff)
radeonsi: generalize the SI_VS_SHADER_POINTER_MASK macro
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.c2
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 03aa4f7737f..fd8559ac98c 100644
--- a/src/gallium/drivers/radeonsi/si_blit.c
+++ b/src/gallium/drivers/radeonsi/si_blit.c
@@ -95,7 +95,7 @@ static void si_blitter_end(struct pipe_context *ctx)
/* Restore shader pointers because the VS blit shader changed all
* non-global VS user SGPRs. */
- sctx->shader_pointers_dirty |= SI_VS_SHADER_POINTER_MASK;
+ sctx->shader_pointers_dirty |= SI_DESCS_SHADER_MASK(VERTEX);
sctx->vertex_buffer_pointer_dirty = true;
si_mark_atom_dirty(sctx, &sctx->shader_pointers.atom);
}