From 8b0c1c0e9eebf778fb146ad027acce088967af82 Mon Sep 17 00:00:00 2001 From: dskkato Date: Fri, 24 Nov 2023 12:07:51 +0900 Subject: [PATCH] wgpu-native now raises error after #432 --- wgpu/backends/wgpu_native/_api.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wgpu/backends/wgpu_native/_api.py b/wgpu/backends/wgpu_native/_api.py index 28f35472..cac86910 100644 --- a/wgpu/backends/wgpu_native/_api.py +++ b/wgpu/backends/wgpu_native/_api.py @@ -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(