Skip to content

Commit 5b7d666

Browse files
committed
testdata: accept new Builtins.out due to changes in this branch
1 parent 9de3fa7 commit 5b7d666

File tree

1 file changed

+101
-62
lines changed

1 file changed

+101
-62
lines changed

testdata/Builtins.out

+101-62
Original file line numberDiff line numberDiff line change
@@ -1291,6 +1291,8 @@ PrjImageColor
12911291

12921292
data Output :: Type where
12931293
ScreenOut :: forall (a :: _) (b :: _) . FrameBuffer a b -> Output
1294+
TextureOut
1295+
:: forall (c :: _) (d :: _) . Vec (fromInt 2) Int -> FrameBuffer c d -> Output
12941296

12951297
renderFrame = _lhs renderFrame (_rhs ScreenOut)
12961298

@@ -1658,7 +1660,8 @@ accumulationContext = _lhs accumulationContext \(a :: _) -> _rhs a
16581660
'Maybe = <<type constructor with 0 indices; constructors: Nothing, Just>>
16591661

16601662
'Output :: Type
1661-
'Output = <<type constructor with 0 indices; constructors: ScreenOut>>
1663+
'Output
1664+
= <<type constructor with 0 indices; constructors: ScreenOut, TextureOut>>
16621665

16631666
'PointSize :: Type -> Type
16641667
'PointSize
@@ -2489,6 +2492,10 @@ Texture2D = <<1st constructor of 'Texture>>
24892492
Texture2DSlot :: String -> Texture
24902493
Texture2DSlot = <<0th constructor of 'Texture>>
24912494

2495+
TextureOut
2496+
:: forall (a :: Nat) (b :: [ImageKind]) . Vec 2 Int -> FrameBuffer a b -> Output
2497+
TextureOut = <<1st constructor of 'Output>>
2498+
24922499
Triangle :: PrimitiveType
24932500
Triangle = <<0th constructor of 'PrimitiveType>>
24942501

@@ -2726,8 +2733,10 @@ case'Output
27262733
:: forall (a :: Output -> Type)
27272734
-> (forall (b :: Nat) (c :: [ImageKind])
27282735
. forall (d :: FrameBuffer b c) -> a ('ScreenOut b c d))
2729-
-> forall (e :: Output) -> a e
2730-
case'Output = \a b c -> <<case function of a type with 0 parameters>>
2736+
-> (forall (e :: Nat) (f :: [ImageKind])
2737+
. forall (g :: Vec 2 Int) (h :: FrameBuffer e f) -> a ('TextureOut e f g h))
2738+
-> forall (i :: Output) -> a i
2739+
case'Output = \a b c d -> <<case function of a type with 0 parameters>>
27312740

27322741
case'PointSize
27332742
:: forall a
@@ -8584,8 +8593,8 @@ zero
85848593
Type
85858594
540:6-540:12
85868595
Type | Type | Type | Type
8587-
540:6-541:12
8588-
Type
8596+
540:6-542:13
8597+
Type | Type
85898598
541:3-541:12
85908599
forall (a :: Nat) (b :: [ImageKind])
85918600
. FrameBuffer a b -> Output | Output | Type | Type | Type | Type
@@ -8603,120 +8612,150 @@ zero
86038612
_b
86048613
541:45-541:51
86058614
Type | Type
8606-
543:1-543:12
8615+
542:3-542:13
8616+
forall (a :: Nat) (b :: [ImageKind])
8617+
. Vec 2 Int
8618+
-> FrameBuffer a b -> Output | Output | Type | Type | Type | Type | Type
8619+
542:26-542:29
8620+
Nat -> Type -> Type
8621+
542:26-542:31
8622+
Type -> Type
8623+
542:26-542:35
8624+
Type
8625+
542:26-542:64
8626+
Type | Type
8627+
542:30-542:31
8628+
_b
8629+
542:32-542:35
8630+
Type
8631+
542:39-542:50
8632+
Nat -> [ImageKind] -> Type
8633+
542:39-542:52
8634+
[ImageKind] -> Type
8635+
542:39-542:54
8636+
Type
8637+
542:39-542:64
8638+
Type
8639+
542:51-542:52
8640+
_e
8641+
542:53-542:54
8642+
_c
8643+
542:58-542:64
8644+
Type | Type
8645+
544:1-544:12
86078646
forall (a :: Nat) (b :: [ImageKind]) . FrameBuffer a b -> Output
8608-
543:15-543:24
8647+
544:15-544:24
86098648
forall (a :: Nat) (b :: [ImageKind]) . FrameBuffer a b -> Output
8610-
549:6-549:13
8649+
550:6-550:13
86118650
Type | Type | Type | Type
8612-
549:6-553:12
8651+
550:6-554:12
86138652
Type | Type
8614-
550:3-550:16
8653+
551:3-551:16
86158654
String -> Texture | Texture | Type | Type
8616-
550:20-550:26
8655+
551:20-551:26
86178656
Type
8618-
551:20-551:27
8657+
552:20-552:27
86198658
Type | Type
8620-
553:3-553:12
8659+
554:3-554:12
86218660
Vec 2 Int
86228661
-> Image 1 ('Color (Vec 4 Float)) -> Texture | Texture | Type | Type | Type
8623-
553:20-553:23
8662+
554:20-554:23
86248663
Nat -> Type -> Type
8625-
553:20-553:25
8664+
554:20-554:25
86268665
Type -> Type
8627-
553:20-553:29
8666+
554:20-554:29
86288667
Type
8629-
553:24-553:25
8668+
554:24-554:25
86308669
_b
8631-
553:26-553:29
8670+
554:26-554:29
86328671
Type
8633-
554:20-554:25
8672+
555:20-555:25
86348673
Nat -> ImageKind -> Type
8635-
554:20-554:27
8674+
555:20-555:27
86368675
ImageKind -> Type
8637-
554:20-554:49
8676+
555:20-555:49
86388677
Type
8639-
554:20-555:27
8678+
555:20-556:27
86408679
Type
8641-
554:26-554:27
8680+
555:26-555:27
86428681
_b
8643-
554:29-554:34
8682+
555:29-555:34
86448683
Type -> ImageKind
8645-
554:29-554:48
8684+
555:29-555:48
86468685
ImageKind
8647-
554:36-554:39
8686+
555:36-555:39
86488687
Nat -> Type -> Type
8649-
554:36-554:41
8688+
555:36-555:41
86508689
Type -> Type
8651-
554:36-554:47
8690+
555:36-555:47
86528691
Type
8653-
554:40-554:41
8692+
555:40-555:41
86548693
_b
8655-
554:42-554:47
8694+
555:42-555:47
86568695
Type
8657-
555:20-555:27
8696+
556:20-556:27
86588697
Type | Type
8659-
557:6-557:12
8698+
558:6-558:12
86608699
Type | Type | Type | Type | Type | Type
8661-
557:6-559:17
8700+
558:6-560:17
86628701
Type | Type
8663-
558:5-558:16
8702+
559:5-559:16
86648703
Filter
8665-
559:5-559:17
8704+
560:5-560:17
86668705
Filter
8667-
561:6-561:14
8706+
562:6-562:14
86688707
Type | Type | Type | Type | Type | Type | Type
8669-
561:6-564:16
8708+
562:6-565:16
86708709
Type | Type | Type
8671-
562:5-562:11
8710+
563:5-563:11
86728711
EdgeMode
8673-
563:5-563:19
8712+
564:5-564:19
86748713
EdgeMode
8675-
564:5-564:16
8714+
565:5-565:16
86768715
EdgeMode
8677-
566:6-566:13
8716+
567:6-567:13
86788717
Type | Type | Type | Type | Type | Type
8679-
566:6-566:23
8718+
567:6-567:23
86808719
Type
8681-
566:6-566:47
8720+
567:6-567:47
86828721
Type | Type
8683-
566:16-566:23
8722+
567:16-567:23
86848723
Filter -> EdgeMode -> Texture -> Sampler | Sampler | Type | Type | Type | Type
8685-
566:24-566:30
8724+
567:24-567:30
86868725
Type
8687-
566:31-566:39
8726+
567:31-567:39
86888727
Type
8689-
566:40-566:47
8728+
567:40-567:47
86908729
Type
8691-
569:1-569:10
8730+
570:1-570:10
86928731
Sampler -> Vec 2 Float -> Vec 4 Float
8693-
569:14-569:21
8732+
570:14-570:21
86948733
Type
8695-
569:25-569:28
8734+
570:25-570:28
86968735
Nat -> Type -> Type
8697-
569:25-569:30
8736+
570:25-570:30
86988737
Type -> Type
8699-
569:25-569:36
8738+
570:25-570:36
87008739
Type
8701-
569:25-569:51
8740+
570:25-570:51
87028741
Type
8703-
569:29-569:30
8742+
570:29-570:30
87048743
_b
8705-
569:31-569:36
8744+
570:31-570:36
87068745
Type
8707-
569:40-569:43
8746+
570:40-570:43
87088747
Nat -> Type -> Type
8709-
569:40-569:45
8748+
570:40-570:45
87108749
Type -> Type
8711-
569:40-569:51
8750+
570:40-570:51
87128751
Type | Type
8713-
569:44-569:45
8752+
570:44-570:45
87148753
_b
8715-
569:46-569:51
8754+
570:46-570:51
87168755
Type
8717-
573:1-573:20
8756+
574:1-574:20
87188757
forall a . a -> a
8719-
573:25-573:26
8758+
574:25-574:26
87208759
_b
87218760
------------ warnings
87228761
Uncovered pattern(s) at testdata/Builtins.lc:201:1:

0 commit comments

Comments
 (0)