Commit 1fe2ab81 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winevulkan: Skip traces for some critical functions.

parent b55a469c
......@@ -783,7 +783,9 @@ class VkFunction(object):
if needs_alloc:
body += " struct conversion_context ctx;\n"
body += "\n"
body += " {0}\n".format(self.trace(params_prefix=params_prefix, conv=conv))
if not self.is_perf_critical():
body += " {0}\n".format(self.trace(params_prefix=params_prefix, conv=conv))
if self.params[0].optional and self.params[0].is_handle():
if self.type != "void":
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment