AtlatestRepositorysigil-graphics
sigil-graphics / tree / test / test-shaderpackage.sgl
1
;;; test-shader — smoke test for sigil-graphics custom fragment shaders2
;;;3
;;; Renders a colorful quad into a 256×256 render target, then composites4
;;; it twice on the swap chain: once with the default pipeline (untinted)5
;;; and once through a tint shader (warm-amber). Quits after ~5 seconds6
;;; or when escape is pressed.8
(package9
name: "test-shader"10
version: "0.0.1"11
sigil: "^0.15"12
description: "Smoke test: custom fragment shader pipeline"13
license: "BSD-3-Clause"14
authors: (list "David Wilson <[email protected]>")16
entry: '(test-shader main)17
bundle-name: "test-shader"19
configs: (list20
(config21
name: 'dev22
output-dir: "build/dev"23
debug?: #t24
optimize: 025
bundle?: #t))27
dependencies: (list28
(from-git url: "codeberg:sigil/sigil-app" version: "^0.8.2")29
(from-git url: "codeberg:sigil/sigil-graphics" version: "^0.9.3")))