Commit graph

19203 commits

Author SHA1 Message Date
Kovid Goyal
a4ee57b9a1
Some more validation for pipeline 2026-08-05 05:32:58 +05:30
Kovid Goyal
cdbd9ed9dd
Update samplers in shaders 2026-08-05 05:32:58 +05:30
Kovid Goyal
716c9c0ecf
... 2026-08-05 05:32:58 +05:30
Kovid Goyal
d90f402520
C code to transfer pipeline from JSON data 2026-08-05 05:32:58 +05:30
Kovid Goyal
9e345bbf7b
start work on implementing custom shader pipeline 2026-08-05 05:32:58 +05:30
Kovid Goyal
3b6e131b44
Use StrEnum instead of literals 2026-08-05 05:32:58 +05:30
Kovid Goyal
98e2de1a98
move to using a pipeline definition file for custom shaders 2026-08-05 05:32:58 +05:30
Kovid Goyal
95fb531b7b
Function to parse pipeline definitions 2026-08-05 05:32:58 +05:30
Kovid Goyal
6b9e16294c
allow custom shaders to optionally access full output from previous shader in custom pipeline run 2026-08-05 05:32:58 +05:30
Kovid Goyal
6f94f9b52a
Make cache invalidation for custom shaders also depend on slang.py 2026-08-05 05:32:58 +05:30
Kovid Goyal
379c8cc4b2
... 2026-08-05 05:32:58 +05:30
Kovid Goyal
f38f9823d4
get custom shader basically working 2026-08-05 05:32:58 +05:30
Kovid Goyal
2793cb0608
SPlit into two functions 2026-08-05 05:32:58 +05:30
Kovid Goyal
5431baa422
More work on custom shaders 2026-08-05 05:32:57 +05:30
Kovid Goyal
5c7c7cd26c
Mark struct members as uniform 2026-08-05 05:32:57 +05:30
Kovid Goyal
c99c4b1bdf
speedup slow ssh shell integration test by removing redundant entries from test matrix 2026-08-05 05:32:57 +05:30
Kovid Goyal
9d33c21131
... 2026-08-05 05:32:57 +05:30
Kovid Goyal
60c4f1c37c
... 2026-08-05 05:32:57 +05:30
Kovid Goyal
53f1b6fefb
Report Go tests properly 2026-08-05 05:32:57 +05:30
Kovid Goyal
39ae060d23
Run python test in parallel 2026-08-05 05:32:57 +05:30
Kovid Goyal
cbf3c50cf4
... 2026-08-05 05:32:57 +05:30
Kovid Goyal
ad7043bc20
More work on custom shaders 2026-08-05 05:32:57 +05:30
Kovid Goyal
bfac604d6d
Improve handling of import dirs for custom shaders 2026-08-05 05:32:57 +05:30
Kovid Goyal
3d16c300e4
Add option for custom shaders 2026-08-05 05:32:57 +05:30
Kovid Goyal
16297903f6
test for compiling custom shader to glsl 2026-08-05 05:32:57 +05:30
Kovid Goyal
2c6a380392
... 2026-08-05 05:32:57 +05:30
Kovid Goyal
425cee3a9a
More work on custom shaders 2026-08-05 05:32:57 +05:30
Kovid Goyal
e4a067405a
Now padding.slang doesnt need the defines 2026-08-05 05:32:57 +05:30
Kovid Goyal
4b15314267
compile builtin shaders in dependency layers 2026-08-05 05:32:56 +05:30
Kovid Goyal
f569f9a868
Fix compilation of padding shader failing on first try 2026-08-05 05:32:56 +05:30
Kovid Goyal
e862e5febd
Honor verbose flag when building shaders 2026-08-05 05:32:56 +05:30
Kovid Goyal
157b4d8161
Dont emit empty specialisation commands 2026-08-05 05:32:56 +05:30
Kovid Goyal
384f7ff5aa
Make function more easily testable 2026-08-05 05:32:56 +05:30
Kovid Goyal
cebab9c739
add custom shader dir to includes 2026-08-05 05:32:56 +05:30
Kovid Goyal
966f389cbb
Wire up the backbuffer sampler 2026-08-05 05:32:56 +05:30
Kovid Goyal
5bfe8b5746
More work on custom shaders 2026-08-05 05:32:56 +05:30
Kovid Goyal
caa5be702a
Use only 2 drawcalls for filling compensatory padding 2026-08-05 05:32:56 +05:30
Kovid Goyal
7f0b072f0d
autoformat 2026-08-05 05:32:56 +05:30
Kovid Goyal
d9bf2228d7
Start work on customs shaders 2026-08-05 05:32:56 +05:30
Kovid Goyal
b97beabb4c
Remove unused code 2026-08-05 05:32:56 +05:30
Kovid Goyal
104acf7d65
add tests for lock_with_file 2026-08-05 05:32:56 +05:30
Kovid Goyal
06b6974f59
Utility function for locked file contextmanager 2026-08-05 05:32:56 +05:30
Kovid Goyal
71e8d7496e
... 2026-08-05 05:32:55 +05:30
Kovid Goyal
100c78bbb3
A new option to color compensatory padding with neighboring cell colors 2026-08-05 05:32:55 +05:30
Kovid Goyal
5c4f6b39bd
Remove the clear progress timer on window destruction
Prevents callback to destroyed window object
2026-08-05 05:32:55 +05:30
Kovid Goyal
28fdf0b20e
Refactor the cell shader moving the background and geometry computation into a module
This makes the code re-useable in another shader such as one to color
the padding based on cell backgrounds.
2026-08-05 05:32:55 +05:30
Kovid Goyal
28b534a821
... 2026-08-05 05:32:55 +05:30
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