compose-multiplatform: Shader compilation error in 0.3.0
Ubuntu 20.04, VirtualBox. Compose Desktop 0.3.0 after run crashed. It was OK with 0.3.0-build*
Shader compilation error
------------------------
1 uniform sampler2D uTextureSampler_0_Stage0;
2 in half3 vinShadowParams_Stage0;in half4 vinColor_Stage0;void main() {half4 outputColor_Stage0;half4 outputCoverage_Stage0;{ // Stage 0, RRectShadow
3 half3 shadowParams;shadowParams = vinShadowParams_Stage0;outputColor_Stage0 = vinColor_Stage0;half d = length(shadowParams.xy);float2 uv = float2(shadowParams.z * (1.0 - d), 0.5);half factor = sample(uTextureSampler_0_Stage0, uv).a;outputCoverage_Stage0 = half4(factor);}{ // Xfer Processor: Porter Duff
4 sk_FragColor = outputColor_Stage0 * outputCoverage_Stage0;}}
Errors:
error: 3: floating-point value is too large: 1.0
3: floating-point value is too large: 1.0
1 error
free(): invalid pointer
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 4
- Comments: 15 (8 by maintainers)
Commits related to this issue
- Add a proper platformScrollConfig implementation in foundation jsMain (#416) It fixes the scrolling — committed to MatkovIvan/compose-multiplatform by eymar a year ago
Skiko 0.2.15 shall have this issue resolved. See JetBrains/skiko@6f6bf09.
cc @theapache64