Re: [Mesa-dev] [PATCH 1/3] gallivm: handle cube map arrays for texture sampling

2014-08-29 Thread Jose Fonseca
On 28/08/14 17:25, Roland Scheidegger wrote: Am 28.08.2014 18:19, schrieb Jose Fonseca: On 28/08/14 04:15, srol...@vmware.com wrote: From: Roland Scheidegger srol...@vmware.com Pretty easy, just make sure that all paths testing for PIPE_TEXTURE_CUBE also recognize PIPE_TEXTURE_CUBE_ARRAY, and

Re: [Mesa-dev] [PATCH 1/3] gallivm: handle cube map arrays for texture sampling

2014-08-28 Thread Jose Fonseca
On 28/08/14 04:15, srol...@vmware.com wrote: From: Roland Scheidegger srol...@vmware.com Pretty easy, just make sure that all paths testing for PIPE_TEXTURE_CUBE also recognize PIPE_TEXTURE_CUBE_ARRAY, and add the layer * 6 calculation to the calculated face. Also handle it for texture size

Re: [Mesa-dev] [PATCH 1/3] gallivm: handle cube map arrays for texture sampling

2014-08-28 Thread Roland Scheidegger
Am 28.08.2014 18:19, schrieb Jose Fonseca: On 28/08/14 04:15, srol...@vmware.com wrote: From: Roland Scheidegger srol...@vmware.com Pretty easy, just make sure that all paths testing for PIPE_TEXTURE_CUBE also recognize PIPE_TEXTURE_CUBE_ARRAY, and add the layer * 6 calculation to the

[Mesa-dev] [PATCH 1/3] gallivm: handle cube map arrays for texture sampling

2014-08-27 Thread sroland
From: Roland Scheidegger srol...@vmware.com Pretty easy, just make sure that all paths testing for PIPE_TEXTURE_CUBE also recognize PIPE_TEXTURE_CUBE_ARRAY, and add the layer * 6 calculation to the calculated face. Also handle it for texture size query, looks like OpenGL wants the number of