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 {
|
||||
_ = 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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue