i915: Remove unused fields intel_mipmap_tree::logical_(width|height|depth)0
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 2 Jun 2017 23:57:45 +0000 (16:57 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 26 Jun 2017 22:20:09 +0000 (15:20 -0700)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
src/mesa/drivers/dri/i915/intel_mipmap_tree.c
src/mesa/drivers/dri/i915/intel_mipmap_tree.h

index 92f116b9e055ce5d2dce2136c4103cfa3e0eb225..6c0f55b6389cfcebe6e286a063d0658be8a0e66f 100644 (file)
@@ -83,9 +83,6 @@ intel_miptree_create_layout(struct intel_context *intel,
    mt->format = format;
    mt->first_level = first_level;
    mt->last_level = last_level;
-   mt->logical_width0 = width0;
-   mt->logical_height0 = height0;
-   mt->logical_depth0 = depth0;
 
    /* The cpp is bytes per (1, blockheight)-sized block for compressed
     * textures.  This is why you'll see divides by blockheight all over
index afe27e3145c7ad71e14b7445bc9c7603a3551898..b4a8968db3094572eed5092c3d91fd113c4e7beb 100644 (file)
@@ -168,14 +168,6 @@ struct intel_mipmap_tree
    GLuint cpp;
    bool compressed;
 
-   /**
-    * Level zero image dimensions.  These dimensions correspond to the
-    * logical width, height, and depth of the region as seen by client code.
-    * Accordingly, they do not account for the extra factor of 6 in depth that
-    * must be allocated in order to accommodate cubemap textures.
-    */
-   uint32_t logical_width0, logical_height0, logical_depth0;
-
    /* Derived from the above:
     */
    GLuint total_width;