Skip to content

Commit

Permalink
wgpu-native now raises error after #432
Browse files Browse the repository at this point in the history
  • Loading branch information
dskkato committed Nov 24, 2023
1 parent f68d910 commit 8b0c1c0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions wgpu/backends/wgpu_native/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1974,10 +1974,7 @@ def _destroy(self):

class GPUPipelineBase(classes.GPUPipelineBase):
def get_bind_group_layout(self, index):
"""Get the bind group layout at the given index.
Note that current wgpu-native aborts immediately if the index is out of range.
"""
"""Get the bind group layout at the given index."""
if isinstance(self, GPUComputePipeline):
# H: WGPUBindGroupLayout f(WGPUComputePipeline computePipeline, uint32_t groupIndex)
layout_id = libf.wgpuComputePipelineGetBindGroupLayout(
Expand Down

0 comments on commit 8b0c1c0

Please sign in to comment.