diff options
author | Dave Airlie <[email protected]> | 2014-10-01 09:22:13 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2014-10-03 10:37:55 +1000 |
commit | 8df3c02cdc0a81db43f63e5a93fbae1b3435d23d (patch) | |
tree | 5ea3cf6ab3a1ab9dc075b17a1732b1d39c78a927 /src/mesa/main/convolve.h | |
parent | b4ffd19e6c9f61dfa4e0eda1f606cd255b27208f (diff) |
mesa: fix GetTexImage for 1D array depth textures
While running piglit in virgl, I hit an assert in intel driver.
"qemu-system-x86_64: intel_tex.c:219: intel_map_texture_image: Assertion `tex_image->TexObject->Target != 0x8C18 || h == 1' failed."
Thanks to Eric and Ken for pointing me in the right direction,
Fix the get_tex_depth to do the same fixup as get_tex_rgba does
for 1D array textures.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Cc: [email protected]
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/convolve.h')
0 files changed, 0 insertions, 0 deletions