mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-08 00:34:52 +00:00
...
This commit is contained in:
parent
dd311a80a0
commit
a4fd91e00f
2 changed files with 3 additions and 1 deletions
|
|
@ -466,6 +466,7 @@ def main() -> None:
|
|||
parallel_run(needed)
|
||||
compile_builtin_shaders(sys.argv[-2], sys.argv[-1], prun)
|
||||
|
||||
|
||||
def test_slang_build() -> None:
|
||||
import subprocess
|
||||
if shutil.which(slangc[0]) is None:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
from typing import Iterable
|
||||
|
||||
# Map the custom extensions to the required glslangValidator stage strings
|
||||
stage_mapping = {
|
||||
|
|
@ -12,7 +13,7 @@ stage_mapping = {
|
|||
}
|
||||
|
||||
|
||||
def validate_glsl_files(shader_files: list[str], verbose: bool = False) -> None:
|
||||
def validate_glsl_files(shader_files: Iterable[str | Path], verbose: bool = False) -> None:
|
||||
error_count = 0
|
||||
|
||||
# Process each shader file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue