Kovid Goyal
3f16b01e80
Also handle leading ~
2026-08-05 05:32:55 +05:30
Kovid Goyal
f156c3c152
Handle relative paths for the screenshot rc command correctly
2026-08-05 05:32:55 +05:30
Kovid Goyal
e37965f418
...
2026-08-05 05:32:55 +05:30
Kovid Goyal
9bc6df9994
...
2026-08-05 05:32:55 +05:30
Kovid Goyal
3799ad76b4
pep8
2026-08-05 05:32:55 +05:30
Kovid Goyal
766466ad57
Add a screenshot remote control command
2026-08-05 05:32:55 +05:30
Kovid Goyal
ec064b09bb
fix regression in slang migration that caused second OS Window to not render because shared gamma_lut UBO was only bound to first OS Window context
2026-08-05 05:32:55 +05:30
Kovid Goyal
fbd5b212be
Free global VAO on terminate
2026-08-05 05:32:55 +05:30
Kovid Goyal
2c527c7f39
gl.h functions should only be used in shaders.c
2026-08-05 05:32:55 +05:30
Kovid Goyal
31629cd104
Load GLSL binding information at runtime rather than writing it to a generated C header
2026-08-05 05:32:55 +05:30
Kovid Goyal
358bf982f9
fix graphics rendering because of inverted specialisation
2026-08-05 05:32:54 +05:30
Kovid Goyal
e582eed2ec
Decrease the number of cell variants
2026-08-05 05:32:54 +05:30
Kovid Goyal
73bcf0670e
...
2026-08-05 05:32:54 +05:30
Kovid Goyal
5802d35198
Switch over to the slang based shaders
2026-08-05 05:32:54 +05:30
Kovid Goyal
c680adcde5
Port load shader programs to slang
2026-08-05 05:32:54 +05:30
Kovid Goyal
f5aa48647d
Cleanup shader load/recompile legacy code
...
Make it easier to port
2026-08-05 05:32:54 +05:30
Kovid Goyal
9469d268fd
Generate glsl uniforms header from slang code
2026-08-05 05:32:54 +05:30
Kovid Goyal
a7c226d957
Also parse uniform struct names
2026-08-05 05:32:54 +05:30
Kovid Goyal
da87a97c72
Remove array syntax from uniform block member variable names
2026-08-05 05:32:54 +05:30
Kovid Goyal
dbe59e0667
...
2026-08-05 05:32:54 +05:30
Kovid Goyal
c4f1d1b9be
Delay load slangc
2026-08-05 05:32:54 +05:30
copilot-swe-agent[bot]
a31f9e52f2
Refactor kitty_tests: move __init__.py code to base.py, update all imports
2026-08-05 05:32:54 +05:30
Kovid Goyal
2a71ecdc89
Ensure slangc is correct in test env
2026-08-05 05:32:54 +05:30
Kovid Goyal
1628a0dd14
Fix struct naming in ported cell shader
2026-08-05 05:32:54 +05:30
Kovid Goyal
7aeaf18fd3
Keep generated IR in build dir rather than dest dir
...
We dont do runtime specialisation anymore so no need
for the IR to be distributed.
2026-08-05 05:32:54 +05:30
Kovid Goyal
52511e4cfa
Fix shadowed function
2026-08-05 05:32:53 +05:30
Kovid Goyal
9e2f49f1bb
Fix default cell variant generation
2026-08-05 05:32:53 +05:30
Kovid Goyal
113fc313b5
Function to dump processed legacy GLSL shaders
...
Makes it easier to compare legacy with new shaders
2026-08-05 05:32:53 +05:30
Kovid Goyal
5dfe414bbb
Move a couple of loose uniforms into the block
2026-08-05 05:32:53 +05:30
Kovid Goyal
a47cc05d4d
Backport using uniform for text_fg_override_threshold from slang to legacy glsl
2026-08-05 05:32:53 +05:30
Kovid Goyal
020611424a
Backport fg override algo change from slang to legacy glsl shaders
2026-08-05 05:32:53 +05:30
Kovid Goyal
d8841799ac
...
2026-08-05 05:32:53 +05:30
Kovid Goyal
c0115c80b2
Directly output input attr locations
2026-08-05 05:32:53 +05:30
Kovid Goyal
b569dc3d53
Fix VAO names for cell shader
2026-08-05 05:32:53 +05:30
Kovid Goyal
0f7211f07a
Also output input attr name mapping for generated glsl
2026-08-05 05:32:53 +05:30
Kovid Goyal
b0bb8822a5
Port the border shader
2026-08-05 05:32:53 +05:30
Kovid Goyal
cb673d3817
Generate all cell shader variations at build time
...
Trying to generate them at runtime is fragile if using slang IR as the
IR is highly version dependent. If going from source it means it is even
slower and would require some sophisticated caching scheme.
2026-08-05 05:32:53 +05:30
Kovid Goyal
9ebf3e59e2
Function to specialize cell shader at runtime based on options
2026-08-05 05:32:53 +05:30
Kovid Goyal
fde8c23a6a
Dump slang file metadata when building
2026-08-05 05:32:53 +05:30
Kovid Goyal
5271092dfb
Port the cell fragment shader
2026-08-05 05:32:53 +05:30
Kovid Goyal
9a247cf108
Remove glsl file is fixing it fails
2026-08-05 05:32:53 +05:30
Kovid Goyal
91decafd9a
Lower glsl version to 140 to match existing shaders
2026-08-05 05:32:52 +05:30
Kovid Goyal
a2db126f46
Preserve layout location attribs for VAOs
2026-08-05 05:32:52 +05:30
Kovid Goyal
68031c76d9
Finish porting cell vertex shader
2026-08-05 05:32:52 +05:30
Kovid Goyal
29501544f0
More work on cell shader porting
2026-08-05 05:32:52 +05:30
Kovid Goyal
8315865d61
More cell shader porting work
2026-08-05 05:32:52 +05:30
Kovid Goyal
d775b26886
More porting work on cell shader
2026-08-05 05:32:52 +05:30
Kovid Goyal
b5dbfdc9b6
Port the HSL UV shader
2026-08-05 05:32:52 +05:30
Kovid Goyal
6bf8e4f830
More work on porting cell shader
2026-08-05 05:32:52 +05:30
Kovid Goyal
966ad7f1c7
Start work on porting cell shader
2026-08-05 05:32:52 +05:30