diff options
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_resource.h')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_resource.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/gallium/drivers/panfrost/pan_resource.h b/src/gallium/drivers/panfrost/pan_resource.h index f3ba339add7..2af06208f2c 100644 --- a/src/gallium/drivers/panfrost/pan_resource.h +++ b/src/gallium/drivers/panfrost/pan_resource.h @@ -29,27 +29,10 @@ #include <panfrost-job.h> #include "pan_screen.h" #include "pan_allocate.h" +#include "pan_texture.h" #include "drm-uapi/drm.h" #include "util/u_range.h" -struct panfrost_slice { - unsigned offset; - unsigned stride; - unsigned size0; - - /* If there is a header preceding each slice, how big is - * that header? Used for AFBC */ - unsigned header_size; - - /* If checksumming is enabled following the slice, what - * is its offset/stride? */ - unsigned checksum_offset; - unsigned checksum_stride; - - /* Has anything been written to this slice? */ - bool initialized; -}; - struct panfrost_resource { struct pipe_resource base; struct { |