fir-0.1.0.0: test/Tests/Atomics/FloatBitwise.golden
test/Tests/Atomics/FloatBitwise.hs:26:8: error: [GHC-39999]
• No instance for ‘AtomicIntegralTy Float’
arising from a use of ‘atomicAnd’
• In a stmt of a 'do' block:
_ <- atomicAnd
@(Name "floats" :.: Name "arr" :.: AnIndex Word32) x 1
In the third argument of ‘entryPoint’, namely
‘do ~(Vec3 x _ _) <- get @"gl_GlobalInvocationID"
_ <- atomicAnd
@(Name "floats" :.: Name "arr" :.: AnIndex Word32) x 1
pure (Lit ())’
In the second argument of ‘($)’, namely
‘entryPoint
@"main" @Compute
do ~(Vec3 x _ _) <- get @"gl_GlobalInvocationID"
_ <- atomicAnd
@(Name "floats" :.: Name "arr" :.: AnIndex Word32) x 1
pure (Lit ())’
|
26 | _ <- atomicAnd @( Name "floats" :.: Name "arr" :.: AnIndex Word32 ) x 1
| ^^^^^^^^^