Skip to content

Commit f9623fa

Browse files
committed
WGPU_DEPTH_SLICE_UNDEFINED
1 parent 2e174e9 commit f9623fa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

demo/src/main.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ void main(string[] args)
302302

303303
WGPURenderPassColorAttachment colorAttachment = {
304304
view: nextTextureView,
305+
depthSlice: WGPU_DEPTH_SLICE_UNDEFINED,
305306
resolveTarget: null,
306307
loadOp: WGPULoadOp.Clear,
307308
storeOp: WGPUStoreOp.Store,

src/bindbc/wgpu/types.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import core.stdc.stdint;
3535

3636
enum ulong WGPU_ARRAY_LAYER_COUNT_UNDEFINED = 0xffffffffUL;
3737
enum ulong WGPU_COPY_STRIDE_UNDEFINED = 0xffffffffUL;
38+
enum ulong WGPU_DEPTH_SLICE_UNDEFINED = 0xffffffffUL;
3839
enum ulong WGPU_LIMIT_U32_UNDEFINED = 0xffffffffUL;
3940
enum ulong WGPU_LIMIT_U64_UNDEFINED = 0xffffffffffffffffUL;
4041
enum ulong WGPU_MIP_LEVEL_COUNT_UNDEFINED = 0xffffffffUL;

0 commit comments

Comments
 (0)