diff options
author | Roland Scheidegger <[email protected]> | 2014-08-30 01:32:59 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2014-08-30 01:33:02 +0200 |
commit | 9da75f96bce738d5b2c58e6fe0ce8ad436667c58 (patch) | |
tree | 1bda657b5bf9b36349c5110250e19b25a3618f07 /src/gallium/drivers/llvmpipe | |
parent | 26a5156de7e11f21a8690cf159b643e45b4f90a8 (diff) |
gallivm: handle cube map arrays for texture sampling
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 cubes, not layers (so need division by 6).
No piglit regressions.
v2: fix up adding cube layer to face for seamless filtering (needs to happen
after calculating per-sample face). Undetected by piglit unfortunately.
Reviewed-by: Jose Fonseca <[email protected]> (v1)
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
0 files changed, 0 insertions, 0 deletions