fir-0.1.0.0: test/Tests/Optics/NoVectorIndex.golden
test/Tests/Optics/NoVectorIndex.hs:36:17: error: [GHC-64725]
• Vector index 4 is out of bounds.
Vector dimension is 4.
Note: indexing starts from 0.
• In a stmt of a 'do' block:
position <- use @(Name "vertexData" :.: Index 4)
In the third argument of ‘entryPoint’, namely
‘do position <- use @(Name "vertexData" :.: Index 4)
#gl_Position .= position’
In a stmt of a 'do' block:
entryPoint
@"main" @Vertex
do position <- use @(Name "vertexData" :.: Index 4)
#gl_Position .= position
|
36 | position <- use @( Name "vertexData" :.: Index 4 )
| ^^^