gpu: implement Dawn shaderModuleGetCompilationInfo
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
9e61a4b214
commit
57997bdb39
1 changed files with 5 additions and 4 deletions
|
|
@ -1080,10 +1080,11 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn shaderModuleGetCompilationInfo(shader_module: *gpu.ShaderModule, callback: gpu.CompilationInfoCallback, userdata: *anyopaque) void {
|
pub inline fn shaderModuleGetCompilationInfo(shader_module: *gpu.ShaderModule, callback: gpu.CompilationInfoCallback, userdata: *anyopaque) void {
|
||||||
_ = shader_module;
|
procs.shaderModuleGetCompilationInfo.?(
|
||||||
_ = callback;
|
@ptrCast(c.WGPUShaderModule, shader_module),
|
||||||
_ = userdata;
|
@ptrCast(c.WGPUCompilationInfoCallback, callback),
|
||||||
unreachable;
|
userdata,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue