radv: allow RADV_PERFTEST=shader_object on GFX11

It should be working now on RDNA3.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27724>
This commit is contained in:
Samuel Pitoiset 2024-02-12 15:38:57 +01:00 committed by Marge Bot
parent 426d8b5216
commit 4e95d1cc12
2 changed files with 5 additions and 4 deletions

View file

@ -1365,8 +1365,8 @@ RADV driver environment variables
``sam``
enable optimizations to move more driver internal objects to VRAM.
``shader_object``
enable experimental implementation of VK_EXT_shader_object (GFX6-8 and
VEGA10)
enable experimental implementation of VK_EXT_shader_object (GFX6-8,
VEGA10, and GFX11)
``transfer_queue``
enable experimental transfer queue support (GFX9+, not yet spec compliant)
``video_decode``

View file

@ -99,8 +99,9 @@ static bool
radv_shader_object_enabled(const struct radv_physical_device *pdevice)
{
/* FIXME: Fix GPU hangs on Renoir. */
return (pdevice->rad_info.gfx_level < GFX9 || pdevice->rad_info.family == CHIP_VEGA10) && !pdevice->use_llvm &&
pdevice->instance->perftest_flags & RADV_PERFTEST_SHADER_OBJECT;
return (pdevice->rad_info.gfx_level < GFX9 || pdevice->rad_info.gfx_level == GFX11 ||
pdevice->rad_info.family == CHIP_VEGA10) &&
!pdevice->use_llvm && pdevice->instance->perftest_flags & RADV_PERFTEST_SHADER_OBJECT;
}
bool