[Mesa-dev] [PATCH 1/4] st/mesa: remove unneded PIPE_TEXTURE_CUBE check in st_texture_create()

2014-09-29 Thread Brian Paul
Earlier in the function we assert layers==6 for PIPE_TEXTURE_CUBE so there's no reason to special-case the pt.array_size = layers assignment. --- src/mesa/state_tracker/st_texture.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_texture.c

Re: [Mesa-dev] [PATCH 1/4] st/mesa: remove unneded PIPE_TEXTURE_CUBE check in st_texture_create()

2014-09-29 Thread Ilia Mirkin
Series is Reviewed-by: Ilia Mirkin imir...@alum.mit.edu One more place I remember is in util_max_layer() which also special-cases CUBE, where it could just be added to the *_ARRAY case. On Mon, Sep 29, 2014 at 12:56 PM, Brian Paul bri...@vmware.com wrote: Earlier in the function we assert