gpu: implement Dawn shaderModuleGetCompilationInfo

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 19:15:37 -07:00 committed by Stephen Gutekanst
parent 9e61a4b214
commit 57997bdb39

View file

@ -1080,10 +1080,11 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn shaderModuleGetCompilationInfo(shader_module: *gpu.ShaderModule, callback: gpu.CompilationInfoCallback, userdata: *anyopaque) void {
_ = shader_module;
_ = callback;
_ = userdata;
unreachable;
procs.shaderModuleGetCompilationInfo.?(
@ptrCast(c.WGPUShaderModule, shader_module),
@ptrCast(c.WGPUCompilationInfoCallback, callback),
userdata,
);
}
pub inline fn shaderModuleSetLabel(shader_module: *gpu.ShaderModule, label: [*:0]const u8) void {