RADV_DEBUG_VM_FAULTS = 0x800,
RADV_DEBUG_ZERO_VRAM = 0x1000,
RADV_DEBUG_SYNC_SHADERS = 0x2000,
+ RADV_DEBUG_NO_SISCHED = 0x4000,
};
enum {
{"vmfaults", RADV_DEBUG_VM_FAULTS},
{"zerovram", RADV_DEBUG_ZERO_VRAM},
{"syncshaders", RADV_DEBUG_SYNC_SHADERS},
+ {"nosisched", RADV_DEBUG_NO_SISCHED},
{NULL, 0}
};
instance->perftest_flags = parse_debug_string(getenv("RADV_PERFTEST"),
radv_perftest_options);
+ if (instance->debug_flags & RADV_DEBUG_NO_SISCHED) {
+ /* Disable sisched when the user requests it, this is mostly
+ * useful when the driver force-enable sisched for the given
+ * application.
+ */
+ instance->perftest_flags &= ~RADV_PERFTEST_SISCHED;
+ }
+
*pInstance = radv_instance_to_handle(instance);
return VK_SUCCESS;