radv: allow RADV_PERFTEST=shader_object on GFX10/GFX10.3
VK_EXT_shader_object is now supported on all GPUs! It's still not enabled by default because it needs more testing and more fixing (Renoir still hangs for some reasons and Zink/RADV on Polaris10 still has flakes). Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27880>
This commit is contained in:

committed by
Marge Bot

parent
86e4c56dbb
commit
974d1395a2
@@ -1366,7 +1366,7 @@ RADV driver environment variables
|
||||
enable optimizations to move more driver internal objects to VRAM.
|
||||
``shader_object``
|
||||
enable experimental implementation of VK_EXT_shader_object (GFX6-8,
|
||||
VEGA10, and GFX11)
|
||||
VEGA10, and GFX10-GFX11)
|
||||
``transfer_queue``
|
||||
enable experimental transfer queue support (GFX9+, not yet spec compliant)
|
||||
``video_decode``
|
||||
|
@@ -99,9 +99,8 @@ 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.gfx_level == GFX11 ||
|
||||
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.family == CHIP_VEGA10) && !pdevice->use_llvm &&
|
||||
pdevice->instance->perftest_flags & RADV_PERFTEST_SHADER_OBJECT;
|
||||
}
|
||||
|
||||
bool
|
||||
|
Reference in New Issue
Block a user