}
static struct pipe_resource *
-panfrost_resource_create(struct pipe_screen *screen,
- const struct pipe_resource *template)
+panfrost_resource_create_with_modifier(struct pipe_screen *screen,
+ const struct pipe_resource *template,
+ uint64_t modifier)
{
struct panfrost_device *dev = pan_device(screen);
return (struct pipe_resource *)so;
}
+/* Default is to create a resource as don't care */
+
+static struct pipe_resource *
+panfrost_resource_create(struct pipe_screen *screen,
+ const struct pipe_resource *template)
+{
+ return panfrost_resource_create_with_modifier(screen, template,
+ DRM_FORMAT_MOD_INVALID);
+}
+
static void
panfrost_resource_destroy(struct pipe_screen *screen,
struct pipe_resource *pt)