Commit graph

18518 commits

Author SHA1 Message Date
Kovid Goyal
f3be99ae3d
Remove unused code 2026-07-03 13:44:27 +05:30
Kovid Goyal
27b84dbb47
Use same version of slang as bundled version in CI 2026-07-03 13:44:27 +05:30
Kovid Goyal
345cbfc209
Output uniform variable names mapping for GLSL shaders 2026-07-03 13:44:27 +05:30
Kovid Goyal
e1cdec0abe
Port the bgimage shader 2026-07-03 13:44:27 +05:30
Kovid Goyal
57852e8525
Get slangc working in macOS frozen build 2026-07-03 13:44:27 +05:30
Kovid Goyal
3bb0f432d2
Only copy needed slang dlls 2026-07-03 13:44:27 +05:30
Kovid Goyal
847175c12f
Get freezing of slang on linux working 2026-07-03 13:44:27 +05:30
Kovid Goyal
c0b5604605
Ensure slangc is found when freezing 2026-07-03 13:44:27 +05:30
Kovid Goyal
5e57838a92
Nicer error message when slangc not found 2026-07-03 13:44:27 +05:30
Kovid Goyal
4b5e3c06fb
Move glfw build code into setup.py
This was on my TODO list for a long time and doing this allows the
setup.py module code to be re-used in slang.py
2026-07-03 13:44:27 +05:30
Kovid Goyal
5e6c810587
Fix building of shaders under ASAN
We cant import fast_data_types.so into the system python in that case,
so build shaders by running the compiler under the kitty launcher.
2026-07-03 13:44:27 +05:30
Kovid Goyal
893ccbd4f6
Cleanup build output 2026-07-03 13:44:27 +05:30
Kovid Goyal
96ff9d4380
... 2026-07-03 13:44:26 +05:30
Kovid Goyal
cd43acfc28
Ensure shaders are built after fast_data_types.so 2026-07-03 13:44:26 +05:30
Kovid Goyal
a168ec2712
Move specialisations into compiler code
Allows for dynamic specialisations
2026-07-03 13:44:26 +05:30
Kovid Goyal
8c07c7c25e
Fix failing tests 2026-07-03 13:44:26 +05:30
Kovid Goyal
f73338a0df
Implement specialisation for slang shaders 2026-07-03 13:44:26 +05:30
Kovid Goyal
d5aa62afc7
... 2026-07-03 13:44:26 +05:30
Kovid Goyal
30adbb28d9
More work on slangc compilation 2026-07-03 13:44:26 +05:30
Kovid Goyal
22f26260d6
More work on slang compiler 2026-07-03 13:44:26 +05:30
Kovid Goyal
d2fe7d56da
Note that shader-slang is now a dependency 2026-07-03 13:44:26 +05:30
Kovid Goyal
219566d2ed
Have dev.sh set SLANGC as well 2026-07-03 13:44:26 +05:30
Kovid Goyal
67127a67f2
Ensure slangc is available in CI 2026-07-03 13:44:26 +05:30
Kovid Goyal
6e53ada457
More work on slang compilation 2026-07-03 13:44:26 +05:30
Kovid Goyal
c55deba34c
More work on integrating slangc into the build pipeline 2026-07-03 13:44:26 +05:30
Kovid Goyal
67c0481f93
Setup location for compiled shaders 2026-07-03 13:44:26 +05:30
Kovid Goyal
642bc3ef21
Function to build slang code to IR 2026-07-03 13:44:25 +05:30
copilot-swe-agent[bot]
431098833b
Fix parser to strip semicolons from module/import names; update tests 2026-07-03 13:44:25 +05:30
copilot-swe-agent[bot]
619f6bdb12
Add slang parser corner case tests and implement test_slang_ordering 2026-07-03 13:44:25 +05:30
Kovid Goyal
45401ee2a4
Work on generating build tree for slang files 2026-07-03 13:44:25 +05:30
Kovid Goyal
050488c06a
Use the slangc binary instead trying to get the C++ extension working everywhere is too fragile 2026-07-03 13:44:25 +05:30
Kovid Goyal
bf75196de6
Add build test for loading slangc 2026-07-03 13:44:25 +05:30
Kovid Goyal
d50b1c80e6
Get slangc building with clang 2026-07-03 13:44:25 +05:30
Kovid Goyal
368b988564
... 2026-07-03 13:44:25 +05:30
Kovid Goyal
ad194e5d6a
More work on slangc 2026-07-03 13:44:25 +05:30
Kovid Goyal
641a3d3d49
... 2026-07-03 13:44:25 +05:30
Kovid Goyal
617c02420c
Move glsl loading code to legacy 2026-07-03 13:44:25 +05:30
Kovid Goyal
7fc2227e91
Move shader pythons code into shaders package 2026-07-03 13:44:25 +05:30
Kovid Goyal
3bff1be560
Move shaders into kitty package 2026-07-03 13:44:25 +05:30
Kovid Goyal
574bf32b0c
Rationalize build/test/package cycle 2026-07-03 13:44:25 +05:30
Kovid Goyal
394fd586c3
Remove unneeded build step 2026-07-03 13:44:24 +05:30
Kovid Goyal
338d0e3265
Work on slang module compilation 2026-07-03 13:44:24 +05:30
Kovid Goyal
657bb3e7aa
Stub slang module 2026-07-03 13:44:24 +05:30
Kovid Goyal
734ae16b1c
DRYer 2026-07-03 13:44:24 +05:30
copilot-swe-agent[bot]
5192b5dc00
Use GITHUB_TOKEN for slang release API request to avoid rate limits 2026-07-03 13:44:24 +05:30
copilot-swe-agent[bot]
9d41e7bbad
Address code review: use url=None, add TypeError comment 2026-07-03 13:44:24 +05:30
copilot-swe-agent[bot]
80facffc8c
Implement install_slang_compiler() in ci.py 2026-07-03 13:44:24 +05:30
Kovid Goyal
48a30716a8
Stub for installation of slang on CI 2026-07-03 13:44:24 +05:30
Kovid Goyal
1ceb705e8e
Add slang to sources 2026-07-03 13:44:24 +05:30
Kovid Goyal
0bb8502f31
Increase timeout for receiving capabilities from notification daemon
Some checks are pending
CI / Linux (python=3.13 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.11 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.12 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
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
Fixes #10215
2026-07-03 13:43:41 +05:30