gpu: implement Dawn shaderModuleSetLabel

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:36:02 -07:00 committed by Stephen Gutekanst
parent cf1a022b98
commit 52da24300f

View file

@ -1026,9 +1026,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn shaderModuleSetLabel(shader_module: *gpu.ShaderModule, label: [*:0]const u8) void {
_ = shader_module;
_ = label;
unreachable;
procs.shaderModuleSetLabel.?(@ptrCast(c.WGPUShaderModule, shader_module), label);
}
pub inline fn shaderModuleReference(shader_module: *gpu.ShaderModule) void {