mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
radv: remove RADV_THREAD_TRACE_TRIGGER completely
SteamOS switched to VK_MESA_TRACE_TRIGGER since a while. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31539>
This commit is contained in:
parent
2e66ab265d
commit
1cbc316999
1 changed files with 0 additions and 12 deletions
|
|
@ -299,17 +299,6 @@ static const struct vk_instance_extension_table radv_instance_extensions_support
|
|||
#endif
|
||||
};
|
||||
|
||||
static void
|
||||
radv_handle_legacy_sqtt_trigger(struct vk_instance *instance)
|
||||
{
|
||||
char *trigger_file = secure_getenv("RADV_THREAD_TRACE_TRIGGER");
|
||||
if (trigger_file) {
|
||||
instance->trace_trigger_file = trigger_file;
|
||||
instance->trace_mode |= RADV_TRACE_MODE_RGP;
|
||||
fprintf(stderr, "WARNING: RADV_THREAD_TRACE_TRIGGER is deprecated, please use MESA_VK_TRACE_TRIGGER instead.\n");
|
||||
}
|
||||
}
|
||||
|
||||
static enum radeon_ctx_pstate
|
||||
radv_parse_pstate(const char* str)
|
||||
{
|
||||
|
|
@ -352,7 +341,6 @@ radv_CreateInstance(const VkInstanceCreateInfo *pCreateInfo, const VkAllocationC
|
|||
}
|
||||
|
||||
vk_instance_add_driver_trace_modes(&instance->vk, trace_options);
|
||||
radv_handle_legacy_sqtt_trigger(&instance->vk);
|
||||
|
||||
simple_mtx_init(&instance->shader_dump_mtx, mtx_plain);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue