mesa/src/amd
Bas Nieuwenhuizen 17741a0a05 radv: Only use the gfx mipmap level offset/pitch for linear textures.
The tiled-case is non-sensical for non-base mips, but Vulkan requires
that this function handles it but at the same time does not require
returning anything useful. So we can basically return anything.

Correct tiled pitch and offset are still required for our own WSI and
in the future getting the layouts of images with DRM format modifiers.
Both don't have to deal with images with more than 1 level though.

Fixes: 824bd0830e "radv: return the correct pitch for linear mipmaps on GFX10"
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2301
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2304
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2020-01-04 13:04:40 +01:00
..
addrlib amd: fix empty-body issues 2019-12-27 22:09:00 +00:00
common Revert "amd/common: Always initialize gfx9 mipmap offset/pitch." 2020-01-04 13:04:40 +01:00
compiler aco: Fix uniform i2i64. 2019-12-31 14:22:31 +01:00
llvm ac: fix the return value in cull_bbox when bbox culling is disabled 2019-12-16 20:06:07 +00:00
registers ac: declare an enum for the OOB select field on GFX10 2019-12-19 15:15:32 +01:00
vulkan radv: Only use the gfx mipmap level offset/pitch for linear textures. 2020-01-04 13:04:40 +01:00
Android.addrlib.mk android: amd/addrlib: add gfx10 support 2019-07-10 09:03:55 +02:00
Android.common.mk android: amd/common: export amd/llvm headers 2019-10-14 10:46:45 +02:00
Android.compiler.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources android: radeonsi,ac: fix building error due to ac changes 2019-12-27 09:20:49 +01:00
meson.build amd: Move all amd/common code that depends on LLVM to amd/llvm. 2019-10-08 00:44:08 +00:00