From d4ff9cbc7a959f8fc72b108dbe32fa233f936954 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Sun, 3 Mar 2019 23:29:44 +1100 Subject: [PATCH] spec: log all native calls --- tools/spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/spec.py b/tools/spec.py index 6906207..7bf2dd0 100644 --- a/tools/spec.py +++ b/tools/spec.py @@ -985,7 +985,6 @@ def write_dispatch(dst: TextIO, q: List[Type], reg: Registry): indirect<{obj.params[0].type},cruft::vk::load::{table}_table> const* > ({obj.params[0].name}); - std::clog << "{obj.name}\\n"; return (entry->table.{obj.name})( {", ".join(['entry->handle'] + [p.name for p in obj.params[1:]])} ); @@ -993,6 +992,7 @@ def write_dispatch(dst: TextIO, q: List[Type], reg: Registry): dst.write(f""" extern "C" {obj.result} {rename(obj.name)} ({", ".join(p.param for p in obj.params)}) noexcept {{ + std::clog << "{obj.name}" << "\\n"; {implementations.get(obj.name, forwarding)} }} """)