v3d: drop incorrect MAYBE_UNUSED
[mesa.git] / src / gallium / drivers / v3d / v3d_resource.h
index 95ee0eb7d9cdda1b1b091c7273f58cbfe0ebc29f..f0b7c26e04886444a6c3dda70f61454a1c496dfb 100644 (file)
@@ -122,7 +122,8 @@ struct v3d_surface {
 struct v3d_resource {
         struct pipe_resource base;
         struct v3d_bo *bo;
-        struct v3d_resource_slice slices[VC5_MAX_MIP_LEVELS];
+        struct renderonly_scanout *scanout;
+        struct v3d_resource_slice slices[V3D_MAX_MIP_LEVELS];
         uint32_t cube_map_stride;
         uint32_t size;
         int cpp;
@@ -175,6 +176,8 @@ void v3d_resource_screen_init(struct pipe_screen *pscreen);
 void v3d_resource_context_init(struct pipe_context *pctx);
 struct pipe_resource *v3d_resource_create(struct pipe_screen *pscreen,
                                           const struct pipe_resource *tmpl);
+void v3d_update_shadow_texture(struct pipe_context *pctx,
+                               struct pipe_sampler_view *view);
 uint32_t v3d_layer_offset(struct pipe_resource *prsc, uint32_t level,
                           uint32_t layer);