Skip to content

Commit

Permalink
WGPU_DEPTH_SLICE_UNDEFINED
Browse files Browse the repository at this point in the history
  • Loading branch information
gecko0307 committed Sep 12, 2024
1 parent 2e174e9 commit f9623fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo/src/main.d
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ void main(string[] args)

WGPURenderPassColorAttachment colorAttachment = {
view: nextTextureView,
depthSlice: WGPU_DEPTH_SLICE_UNDEFINED,
resolveTarget: null,
loadOp: WGPULoadOp.Clear,
storeOp: WGPUStoreOp.Store,
Expand Down
1 change: 1 addition & 0 deletions src/bindbc/wgpu/types.d
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import core.stdc.stdint;

enum ulong WGPU_ARRAY_LAYER_COUNT_UNDEFINED = 0xffffffffUL;
enum ulong WGPU_COPY_STRIDE_UNDEFINED = 0xffffffffUL;
enum ulong WGPU_DEPTH_SLICE_UNDEFINED = 0xffffffffUL;
enum ulong WGPU_LIMIT_U32_UNDEFINED = 0xffffffffUL;
enum ulong WGPU_LIMIT_U64_UNDEFINED = 0xffffffffffffffffUL;
enum ulong WGPU_MIP_LEVEL_COUNT_UNDEFINED = 0xffffffffUL;
Expand Down

0 comments on commit f9623fa

Please sign in to comment.