gpu: implement CommandEncoder.injectValidationError
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
5cf71dae3d
commit
6cd03e5a0a
2 changed files with 11 additions and 2 deletions
|
|
@ -1498,6 +1498,11 @@ const command_encoder_vtable = CommandEncoder.VTable{
|
|||
return wrapCommandBuffer(c.wgpuCommandEncoderFinish(@ptrCast(c.WGPUCommandEncoder, ptr), desc));
|
||||
}
|
||||
}).finish,
|
||||
.injectValidationError = (struct {
|
||||
pub fn injectValidationError(ptr: *anyopaque, message: [*:0]const u8) void {
|
||||
c.wgpuCommandEncoderInjectValidationError(@ptrCast(c.WGPUCommandEncoder, ptr), message);
|
||||
}
|
||||
}).injectValidationError,
|
||||
.insertDebugMarker = (struct {
|
||||
pub fn insertDebugMarker(ptr: *anyopaque, marker_label: [*:0]const u8) void {
|
||||
c.wgpuCommandEncoderInsertDebugMarker(@ptrCast(c.WGPUCommandEncoder, ptr), marker_label);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue