summaryrefslogtreecommitdiff
path: root/lc
diff options
context:
space:
mode:
authorKosyrev Serge <_deepfire@feelingofgreen.ru>2018-09-17 19:43:42 +0300
committerKosyrev Serge <_deepfire@feelingofgreen.ru>2018-09-17 19:43:42 +0300
commit176ac6939f635e15bb1f5b63f1b210b46f483419 (patch)
tree3ca74a9768133aeac706eab1ffa93671a981560d /lc
parentfa9acbf78f91a639c0e76c1757564a6446445f39 (diff)
lc/Builtins: allow RenderTextures to be specified as outputs in the IR
Diffstat (limited to 'lc')
-rw-r--r--lc/Builtins.lc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lc/Builtins.lc b/lc/Builtins.lc
index 03970dbd..15840268 100644
--- a/lc/Builtins.lc
+++ b/lc/Builtins.lc
@@ -539,6 +539,7 @@ PrjImageColor :: FrameBuffer 1 '[ 'Depth, 'Color (Vec 4 Float)] -> Image 1
539 539
540data Output where 540data Output where
541 ScreenOut :: FrameBuffer a b -> Output 541 ScreenOut :: FrameBuffer a b -> Output
542 TextureOut :: Vec 2 Int -> FrameBuffer a b -> Output
542 543
543renderFrame = ScreenOut 544renderFrame = ScreenOut
544 545