llvmpipe: remove special case for PIPE_TEXTURE_CUBE in llvmpipe_texture_layout()
authorBrian Paul <brianp@vmware.com>
Mon, 29 Sep 2014 16:15:28 +0000 (10:15 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 30 Sep 2014 18:08:49 +0000 (12:08 -0600)
commit3d77b80d80d3a85930ca0011a1d4f97578a36477
treefd3283b853bc18999814f75c6a9dd7b3be4e0f41
parent8269bfdb8341f58c7c73671677f31076f42be22e
llvmpipe: remove special case for PIPE_TEXTURE_CUBE in llvmpipe_texture_layout()

layers (aka array_size) should be 6 for cube textures so we don't need
to special-case it.  But add an assertion just to be safe.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/llvmpipe/lp_texture.c