X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fvc4%2Fvc4_resource.h;h=877db513ace8ebd99becea892efa847590fd7b8b;hb=2094b75c688b412ca5b7183e6a0da2b03ec4403f;hp=27aa4e87282f698f264d659a9a46e07a889b7051;hpb=9421a6065c4eafbc92657f75da46a4bb70577154;p=mesa.git diff --git a/src/gallium/drivers/vc4/vc4_resource.h b/src/gallium/drivers/vc4/vc4_resource.h index 27aa4e87282..877db513ace 100644 --- a/src/gallium/drivers/vc4/vc4_resource.h +++ b/src/gallium/drivers/vc4/vc4_resource.h @@ -52,7 +52,7 @@ struct vc4_surface { }; struct vc4_resource { - struct u_resource base; + struct pipe_resource base; struct vc4_bo *bo; struct vc4_resource_slice slices[VC4_MAX_MIP_LEVELS]; uint32_t cube_map_stride; @@ -121,9 +121,10 @@ struct pipe_resource *vc4_resource_create(struct pipe_screen *pscreen, void vc4_update_shadow_baselevel_texture(struct pipe_context *pctx, struct pipe_sampler_view *view); struct pipe_resource *vc4_get_shadow_index_buffer(struct pipe_context *pctx, - const struct pipe_index_buffer *ib, + const struct pipe_draw_info *info, + uint32_t offset, uint32_t count, - uint32_t *offset); + uint32_t *shadow_offset); void vc4_dump_surface(struct pipe_surface *psurf); #endif /* VC4_RESOURCE_H */