fir-0.1.0.0: test/Tests/Interface/InvalidComponent.golden
test/Tests/Interface/InvalidComponent.hs:35:10: error: [GHC-64725]
• Cannot position scalar of type Double
at Location 1, Component 1.
• In the expression:
shader
do put @"out1" =<< get @"in1"
put @"out2" =<< get @"in2"
In an equation for ‘vertex’:
vertex
= shader
do put @"out1" =<< get @"in1"
put @"out2" =<< get @"in2"
|
35 | vertex = shader do
| ^^^^^^
test/Tests/Interface/InvalidComponent.hs:50:12: error: [GHC-64725]
• Cannot position scalar of type Double
at Location 1, Component 1.
• In the expression:
shader
do ~(Vec4 x y z _) <- get @"in1"
w <- get @"in2"
put @"out" (Vec4 x y z (convert w))
In an equation for ‘fragment’:
fragment
= shader
do ~(Vec4 x y z _) <- get @"in1"
w <- get @"in2"
put @"out" (Vec4 x y z (convert w))
|
50 | fragment = shader do
| ^^^^^^