mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-24 06:04:08 +00:00
...
This commit is contained in:
parent
836db2a78d
commit
3a93a9a311
1 changed files with 4 additions and 4 deletions
|
|
@ -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}')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue