radeonsi: add llvm processor names for CIK
[mesa.git] / src / gallium / drivers / radeonsi / r600_resource.h
index 8d809352e6db5142b150b3ca6a84c7fde69aea6a..f7b60ed33bafc78d8c4520296108a2b557f41584 100644 (file)
@@ -49,7 +49,7 @@ struct r600_resource_texture {
 
        unsigned                        pitch_override;
        unsigned                        is_depth;
-       unsigned                        dirty_db;
+       unsigned                        dirty_db_mask; /* each bit says if that miplevel is dirty */
        struct r600_resource_texture    *flushed_depth_texture;
        boolean                         is_flushing_texture;
        struct radeon_surface           surface;
@@ -68,12 +68,9 @@ struct pipe_resource *si_texture_from_handle(struct pipe_screen *screen,
                                             const struct pipe_resource *base,
                                             struct winsys_handle *whandle);
 
-void r600_init_flushed_depth_texture(struct pipe_context *ctx,
+bool r600_init_flushed_depth_texture(struct pipe_context *ctx,
                                     struct pipe_resource *texture,
                                     struct r600_resource_texture **staging);
-void r600_texture_depth_flush(struct pipe_context *ctx,
-                             struct pipe_resource *texture,
-                             struct r600_resource_texture **staging);
 
 
 struct r600_context;