diff options
author | Roland Scheidegger <[email protected]> | 2014-08-28 15:54:52 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2014-08-30 01:17:46 +0200 |
commit | 85d4cc479050fbedf194d5d89f63e5fd0309f22c (patch) | |
tree | 1317ca1e225f5b17feb7b0ff658e8c0e528c9d00 /src/mesa/swrast/s_texfetch_tmp.h | |
parent | 7c73ee677f162f5308020f0a25ba39d1682927fd (diff) |
mesa: fix fallback texture for cube map array
mesa was creating a cube map array texture with just one layer, which is
not legal. This caused an assertion failure when using that texture later
in llvmpipe (when enabling cube map arrays) since it verifies the number
of layers in the view is divisible by 6 (the sampling code might well crash
randomly otherwise) with piglit glsl-resource-not-bound CubeArray -fbo -auto.
v2: use appropriately sized texel array...
Reviewed-by: Ian Romanick <[email protected]> (v1)
Diffstat (limited to 'src/mesa/swrast/s_texfetch_tmp.h')
0 files changed, 0 insertions, 0 deletions