summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_blit.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-06-03 14:47:10 +0200
committerNicolai Hähnle <[email protected]>2016-06-07 15:17:23 +0200
commit031b57bc2f4065ed86973900c611dfdad721e41f (patch)
tree6e326d093b128a7e83029494d10c2f880cf48d12 /src/gallium/drivers/radeonsi/si_blit.c
parentd1e141a661b4ba7ffb0eac61d3288de76b4a8af1 (diff)
radeonsi: move enabled_mask out of si_descriptors
This mask is irrelevant for the generic descriptor set handling, and having it outside simplifies subsequent changes slightly. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_blit.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_blit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c
index 0d18730951d..34481c1d7ed 100644
--- a/src/gallium/drivers/radeonsi/si_blit.c
+++ b/src/gallium/drivers/radeonsi/si_blit.c
@@ -415,7 +415,7 @@ si_decompress_image_color_textures(struct si_context *sctx,
static void si_check_render_feedback_textures(struct si_context *sctx,
struct si_textures_info *textures)
{
- uint32_t mask = textures->views.desc.enabled_mask;
+ uint32_t mask = textures->views.enabled_mask;
while (mask) {
const struct pipe_sampler_view *view;
@@ -458,7 +458,7 @@ static void si_check_render_feedback_textures(struct si_context *sctx,
static void si_check_render_feedback_images(struct si_context *sctx,
struct si_images_info *images)
{
- uint32_t mask = images->desc.enabled_mask;
+ uint32_t mask = images->enabled_mask;
while (mask) {
const struct pipe_image_view *view;