MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / debug_printf

Function debug_printf

crates/spirv-std/macros/src/lib.rs:379–381  ·  view source on GitHub ↗
(input: TokenStream)

Source from the content-addressed store, hash-verified

377/// See <https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/docs/debug_printf.md#debug-printf-format-string> for formatting rules.
378#[proc_macro]
379pub fn debug_printf(input: TokenStream) -> TokenStream {
380 debug_printf_inner(syn::parse_macro_input!(input as DebugPrintfInput))
381}
382
383/// Similar to `debug_printf` but appends a newline to the format string.
384#[proc_macro]

Callers

nothing calls this directly

Calls 1

debug_printf_innerFunction · 0.85

Tested by

no test coverage detected