Skip to content

Commit cc36edb

Browse files
committed
allow renderer to be disabled in select buffer
1 parent 3e9026d commit cc36edb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webgpu/renderer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ def get_export_descriptor(self, options, buffer_registry):
599599
index_buffer_id = buf_id
600600
select_shader = None
601601
select_entry_point = None
602-
if self.select_entry_point:
602+
if self.select_entry_point and getattr(self, "_select_active", True):
603603
select_shader = self._get_preprocessed_shader_code({"SELECT_PIPELINE": "1"})
604604
select_entry_point = self.select_entry_point
605605

0 commit comments

Comments
 (0)