mesa/src/amd
John Brooks 98ba1e0d81 radv: Fix mipmap views on GFX10+
As explained in the previous commit, GFX9+ has issues with addressing
mipmaps in block-compressed images. In the case of copy commands, we fix
this by doing an extra copy for the missing blocks.

For GFX10, the mipmap layout in memory allows us to do better than that. We
can change the base level of the descriptor to one level bigger than the
requested level and adjust the extent and address to match. This is done by
ComputeNonBlockCompressedView in addrlib. Thus on GFX10 we can skip the
fixup copy workaround, and this will also fix cases outside of explicit
copy commands.

Signed-off-by: John Brooks <john@fastquake.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17970>
2022-08-23 19:01:18 +00:00
..
addrlib amd/addrlib: fix 3D texture allocation failures on gfx11 2022-08-03 00:57:16 +00:00
ci radv: Use VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT for render loops 2022-08-23 16:41:56 +00:00
common radv: Fix mipmap views on GFX10+ 2022-08-23 19:01:18 +00:00
compiler amd/compiler: Fixes warning [-Wunused-variable] in test_optimizer_postRA.cpp 2022-08-23 14:14:52 +00:00
drm-shim Use proper types for meson objects 2022-04-18 13:03:08 +03:00
llvm ac/llvm: remove all resinfo code now that it's lowered 2022-08-03 17:44:15 +00:00
registers radeonsi: follow shader_info.float_controls_execution_mode (mostly) 2022-08-03 00:57:16 +00:00
vulkan radv: Fix mipmap views on GFX10+ 2022-08-23 19:01:18 +00:00
.clang-format radv: allow holes in inline push constants 2022-04-12 11:44:30 +00:00
meson.build r300/r600: Add drm-shim support. 2022-02-02 00:59:08 +00:00