mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-05 17:28:36 +00:00
Dont output line mapping when compiling custom shaders to glsl
This commit is contained in:
parent
edc132c98b
commit
9aa73ccaa5
1 changed files with 4 additions and 0 deletions
|
|
@ -278,6 +278,8 @@ class LoadShaderPrograms:
|
|||
try:
|
||||
pipeline = merge_pipelines(slot_pipelines)
|
||||
vert, frag, metadata = build_custom_shader_pipeline_glsl(pipeline)
|
||||
# print(vert, file=open('/tmp/sample.vert', 'w'))
|
||||
# print(frag, file=open('/tmp/sample.frag', 'w'))
|
||||
except Exception as e:
|
||||
log_error(f'Failed to build custom shader for slot {slot} with error: {e}')
|
||||
compile_program(prog, (), (), {}, allow_recompile)
|
||||
|
|
@ -1539,6 +1541,8 @@ def build_custom_shader_pipeline_glsl(
|
|||
+ [
|
||||
'-warnings-as-errors',
|
||||
'all',
|
||||
'-line-directive-mode',
|
||||
'none',
|
||||
'-lang',
|
||||
'slang',
|
||||
'-target',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue