[Mesa-dev] [PATCH 2/2] util: sipmlify PIPE_TEXTURE_CUBE case in util_max_layer()

2014-09-29 Thread Brian Paul
For cube resources, the array_size value should be 6. So handle that case as we do for array texture resources. But assert that array_size==6 just to be safe. --- src/gallium/auxiliary/util/u_inlines.h |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 2/2] util: sipmlify PIPE_TEXTURE_CUBE case in util_max_layer()

2014-09-29 Thread Ilia Mirkin
Subject typo: simplify Otherwise this patch is Reviewed-by: Ilia Mirkin imir...@alum.mit.edu (Don't know llvmpipe, so can't say much about 1/2.) On Mon, Sep 29, 2014 at 6:16 PM, Brian Paul bri...@vmware.com wrote: For cube resources, the array_size value should be 6. So handle that case as

Re: [Mesa-dev] [PATCH 2/2] util: sipmlify PIPE_TEXTURE_CUBE case in util_max_layer()

2014-09-29 Thread Marek Olšák
For this patch: Reviewed-by: Marek Olšák marek.ol...@amd.com Marek On Tue, Sep 30, 2014 at 12:16 AM, Brian Paul bri...@vmware.com wrote: For cube resources, the array_size value should be 6. So handle that case as we do for array texture resources. But assert that array_size==6 just to be