mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-03 05:03:39 +02:00
...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user