~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/drivers/vc4/vc4_resource.c

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
226
226
                    const struct pipe_box *box,
227
227
                    const void *data,
228
228
                    unsigned stride,
229
 
                    unsigned layer_stride)
 
229
                    uintptr_t layer_stride)
230
230
{
231
231
        struct vc4_resource *rsc = vc4_resource(prsc);
232
232
        struct vc4_resource_slice *slice = &rsc->slices[level];
1058
1058
                                },
1059
1059
                                .format = orig->base.format,
1060
1060
                        },
1061
 
                        .mask = ~0,
 
1061
                        .mask = util_format_get_mask(orig->base.format),
1062
1062
                };
1063
1063
                pctx->blit(pctx, &info);
1064
1064
        }