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.
|
enable optimizations to move more driver internal objects to VRAM.
|
||||||
``shader_object``
|
``shader_object``
|
||||||
enable experimental implementation of VK_EXT_shader_object (GFX6-8,
|
enable experimental implementation of VK_EXT_shader_object (GFX6-8,
|
||||||
VEGA10, and GFX11)
|
VEGA10, and GFX10-GFX11)
|
||||||
``transfer_queue``
|
``transfer_queue``
|
||||||
enable experimental transfer queue support (GFX9+, not yet spec compliant)
|
enable experimental transfer queue support (GFX9+, not yet spec compliant)
|
||||||
``video_decode``
|
``video_decode``
|
||||||
|
@@ -99,9 +99,8 @@ static bool
|
|||||||
radv_shader_object_enabled(const struct radv_physical_device *pdevice)
|
radv_shader_object_enabled(const struct radv_physical_device *pdevice)
|
||||||
{
|
{
|
||||||
/* FIXME: Fix GPU hangs on Renoir. */
|
/* FIXME: Fix GPU hangs on Renoir. */
|
||||||
return (pdevice->rad_info.gfx_level < GFX9 || pdevice->rad_info.gfx_level == GFX11 ||
|
return (pdevice->rad_info.gfx_level != GFX9 || pdevice->rad_info.family == CHIP_VEGA10) && !pdevice->use_llvm &&
|
||||||
pdevice->rad_info.family == CHIP_VEGA10) &&
|
pdevice->instance->perftest_flags & RADV_PERFTEST_SHADER_OBJECT;
|
||||||
!pdevice->use_llvm && pdevice->instance->perftest_flags & RADV_PERFTEST_SHADER_OBJECT;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
Reference in New Issue
Block a user