...
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run

This commit is contained in:
Kovid Goyal 2026-08-04 11:35:50 +05:30
parent ec5aad7cd5
commit 81d5ba6c21
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -253,16 +253,16 @@ class LoadShaderPrograms:
for k in self.custom_shaders:
try:
d = parse_pipeline(k)
except FileNotFoundError as e:
except FileNotFoundError:
try:
custom_shader(k)
except Exception:
except Exception as e:
log_error(f'Failed to read custom shader pipeline definition from {k} with error: {e}')
continue
try:
d = parse_pipeline_definition(['startgroup', f' shaders {k}', 'endgroup'])
except Exception as e2:
log_error(f'Failed to build minimal shader pipeline for {k} with error: {e2}')
except Exception as e:
log_error(f'Failed to build minimal shader pipeline for {k} with error: {e}')
continue
except Exception as e:
log_error(f'Failed to read custom shader pipeline definition from {k} with error: {e}')