diff options
author | Ian Romanick <[email protected]> | 2013-07-27 12:27:45 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-08-06 12:18:46 -0700 |
commit | 25281fef0f480260c2e180e70af3eafdd5ecc9cd (patch) | |
tree | 9b858bd6415ddbd07a3320b1bdc770e1550cef0a /src/mesa/vbo/vbo_save_loopback.c | |
parent | 41485fea7c6061cca9d2706f39fa425da291b260 (diff) |
mesa: Validate the layer selection of an array texture too
Previously only the slice of a 3D texture was validated in the FBO
completeness check. This fixes the failure in the 'invalid layer of an
array texture' subtest of piglit's fbo-incomplete test.
v2: 1D_ARRAY textures have Depth == 1. Instead, compare against Height.
v3: Handle CUBE_MAP_ARRAY textures too. Noticed by Marek.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: "9.1 9.2" [email protected]
Diffstat (limited to 'src/mesa/vbo/vbo_save_loopback.c')
0 files changed, 0 insertions, 0 deletions