Skip to content

Commit 1fa688a

Browse files
dskkatoKorijn
andauthored
wgpu-native now raises error after #432 (#434)
Co-authored-by: Korijn van Golen <[email protected]>
1 parent 8f2f998 commit 1fa688a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

wgpu/backends/wgpu_native/_api.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,10 +1974,7 @@ def _destroy(self):
19741974

19751975
class GPUPipelineBase(classes.GPUPipelineBase):
19761976
def get_bind_group_layout(self, index):
1977-
"""Get the bind group layout at the given index.
1978-
1979-
Note that current wgpu-native aborts immediately if the index is out of range.
1980-
"""
1977+
"""Get the bind group layout at the given index."""
19811978
if isinstance(self, GPUComputePipeline):
19821979
# H: WGPUBindGroupLayout f(WGPUComputePipeline computePipeline, uint32_t groupIndex)
19831980
layout_id = libf.wgpuComputePipelineGetBindGroupLayout(

0 commit comments

Comments
 (0)