spec: log all native calls
This commit is contained in:
parent
92a43a10cb
commit
d4ff9cbc7a
@ -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)}
|
||||
}}
|
||||
""")
|
||||
|
Loading…
Reference in New Issue
Block a user