diff options
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_resource.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_resource.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/gallium/drivers/ilo/ilo_resource.h b/src/gallium/drivers/ilo/ilo_resource.h index f11cd94d64b..81563da7a2b 100644 --- a/src/gallium/drivers/ilo/ilo_resource.h +++ b/src/gallium/drivers/ilo/ilo_resource.h @@ -112,20 +112,13 @@ struct ilo_texture { enum pipe_format bo_format; struct intel_bo *bo; - /* - * These are the values passed to or returned from winsys for bo - * allocation. As such, - * - * - width and height are in blocks, - * - cpp is the block size in bytes, and - * - stride is the distance in bytes between two block rows. - */ - int bo_width, bo_height, bo_cpp, bo_stride; enum intel_tiling_mode tiling; + unsigned long bo_stride; /* distance between two block rows in bytes */ + unsigned long bo_height; - bool compressed; unsigned block_width; unsigned block_height; + unsigned block_size; /* true if the mip level alignments are stricter */ bool halign_8, valign_4; @@ -140,7 +133,7 @@ struct ilo_texture { struct { struct intel_bo *bo; - int bo_stride; + unsigned long bo_stride; } hiz; }; |