Skip to main content

Module wgpu_profiler

Module wgpu_profiler 

Source
Expand description

Cross-platform GPU profiling via wgpu timestamp queries. Spec section 4.3. Supports Vulkan, Metal, DX12, and WebGPU.

Structs§

ShaderInfo
Information about a WGSL shader.

Functions§

detect_wgpu_backend
Detect available wgpu backend on the current system.
parse_dispatch
Parse dispatch dimensions from “X,Y,Z” format.
profile_wgpu
Profile a wgpu compute shader.
validate_shader
Validate that a WGSL shader file exists and has valid syntax.