radv: do not allow to enable VK_EXT_shader_object with LLVM

This isn't expected to work.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27415>
This commit is contained in:
Samuel Pitoiset
2024-02-01 18:52:31 +01:00
committed by Marge Bot
parent c925b6019d
commit f977501a7c

View File

@@ -98,7 +98,8 @@ radv_calibrated_timestamps_enabled(const struct radv_physical_device *pdevice)
static bool
radv_shader_object_enabled(const struct radv_physical_device *pdevice)
{
return pdevice->rad_info.gfx_level < GFX9 && pdevice->instance->perftest_flags & RADV_PERFTEST_SHADER_OBJECT;
return pdevice->rad_info.gfx_level < GFX9 && !pdevice->use_llvm &&
pdevice->instance->perftest_flags & RADV_PERFTEST_SHADER_OBJECT;
}
bool