gpu: implement Dawn shaderModuleSetLabel
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
cf1a022b98
commit
52da24300f
1 changed files with 1 additions and 3 deletions
|
|
@ -1026,9 +1026,7 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn shaderModuleSetLabel(shader_module: *gpu.ShaderModule, label: [*:0]const u8) void {
|
pub inline fn shaderModuleSetLabel(shader_module: *gpu.ShaderModule, label: [*:0]const u8) void {
|
||||||
_ = shader_module;
|
procs.shaderModuleSetLabel.?(@ptrCast(c.WGPUShaderModule, shader_module), label);
|
||||||
_ = label;
|
|
||||||
unreachable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn shaderModuleReference(shader_module: *gpu.ShaderModule) void {
|
pub inline fn shaderModuleReference(shader_module: *gpu.ShaderModule) void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue