[Mesa-dev] [PATCH 2/2] i965: Make MIPTREE_LAYOUT_ALLOC_ANY_TILED an enum value.
Ben Widawsky
ben at bwidawsk.net
Wed Aug 5 08:45:10 PDT 2015
On Tue, Aug 04, 2015 at 11:18:17PM -0700, Matt Turner wrote:
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
> index 89fdccb..540c655 100644
> --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
> +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
> @@ -538,12 +538,11 @@ enum {
>
> MIPTREE_LAYOUT_ALLOC_YTILED = 1 << 5,
> MIPTREE_LAYOUT_ALLOC_XTILED = 1 << 6,
> + MIPTREE_LAYOUT_ALLOC_ANY_TILED = MIPTREE_LAYOUT_ALLOC_YTILED |
> + MIPTREE_LAYOUT_ALLOC_XTILED,
> MIPTREE_LAYOUT_ALLOC_LINEAR = 1 << 7,
> };
>
> -#define MIPTREE_LAYOUT_ALLOC_ANY_TILED (MIPTREE_LAYOUT_ALLOC_YTILED | \
> - MIPTREE_LAYOUT_ALLOC_XTILED)
> -
> struct intel_mipmap_tree *intel_miptree_create(struct brw_context *brw,
> GLenum target,
> mesa_format format,
Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
More information about the mesa-dev
mailing list