gpu: fix store_op
This commit is contained in:
parent
7c518f7bd6
commit
ea76aa0268
1 changed files with 2 additions and 2 deletions
|
|
@ -1898,7 +1898,7 @@ const command_encoder_vtable = CommandEncoder.VTable{
|
|||
.view = @ptrCast(c.WGPUTextureView, v.view.ptr),
|
||||
.resolveTarget = if (v.resolve_target) |t| @ptrCast(c.WGPUTextureView, t.ptr) else null,
|
||||
.loadOp = @enumToInt(v.load_op),
|
||||
.storeOp = @enumToInt(v.load_op),
|
||||
.storeOp = @enumToInt(v.store_op),
|
||||
.clearValue = @bitCast(c.WGPUColor, v.clear_value),
|
||||
// deprecated:
|
||||
.clearColor = c.WGPUColor{
|
||||
|
|
@ -1917,7 +1917,7 @@ const command_encoder_vtable = CommandEncoder.VTable{
|
|||
.view = @ptrCast(c.WGPUTextureView, v.view.ptr),
|
||||
.resolveTarget = if (v.resolve_target) |t| @ptrCast(c.WGPUTextureView, t.ptr) else null,
|
||||
.loadOp = @enumToInt(v.load_op),
|
||||
.storeOp = @enumToInt(v.load_op),
|
||||
.storeOp = @enumToInt(v.store_op),
|
||||
.clearValue = @bitCast(c.WGPUColor, v.clear_value),
|
||||
// deprecated:
|
||||
.clearColor = c.WGPUColor{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue