Skip to content
Snippets Groups Projects
Commit e6967270 authored by Kenneth Graunke's avatar Kenneth Graunke
Browse files

i965: Fix depth (array slices) computation for 1D_ARRAY render targets.


1D array targets store the number of slices in the Height field.

Fixes Piglit's spec/!OpenGL 3.2/layered-rendering/clear-color-all-types
1d_array single_level, at least when used with Meta clears.

Cc: "10.2 10.1 10.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Reviewed-by: default avatarJordan Justen <jordan.l.justen@intel.com>
parent 5c399ca8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment