gpu: implement Dawn renderPipelineGetBindGroupLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
72ec40e8d1
commit
9e61a4b214
1 changed files with 4 additions and 3 deletions
|
|
@ -1049,9 +1049,10 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn renderPipelineGetBindGroupLayout(render_pipeline: *gpu.RenderPipeline, group_index: u32) *gpu.BindGroupLayout {
|
||||
_ = render_pipeline;
|
||||
_ = group_index;
|
||||
unreachable;
|
||||
return @ptrCast(*gpu.BindGroupLayout, procs.renderPipelineGetBindGroupLayout.?(
|
||||
@ptrCast(c.WGPURenderPipeline, render_pipeline),
|
||||
group_index,
|
||||
));
|
||||
}
|
||||
|
||||
pub inline fn renderPipelineSetLabel(render_pipeline: *gpu.RenderPipeline, label: [*:0]const u8) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue