mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-21 20:28:06 +00:00
Autoformat slang code
This commit is contained in:
parent
24a7a9d50b
commit
953ac19e77
40 changed files with 1264 additions and 1209 deletions
|
|
@ -124,7 +124,7 @@ This is in a :file:`.slang` file. It must define a function called
|
|||
``fragment_main()`` whose signature is:
|
||||
|
||||
.. literalinclude:: ../kitty/shaders/custom/sample.slang
|
||||
:start-at: public float4 fragment_main(
|
||||
:start-after: START_FUNCTION_SIGNATURE
|
||||
:end-before: END_FUNCTION_SIGNATURE
|
||||
|
||||
The two structs passed into this function have the definition shown below:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue