question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shader compilation error in 0.3.0

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

6reactions
olonhocommented, Feb 24, 2021

Skiko 0.2.15 shall have this issue resolved. See JetBrains/skiko@6f6bf09.

1reaction
jimgoogcommented, Feb 23, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Flutter 1.9: D/skia ( 5106): Shader compilation error
I solved my Shader compilation error by changing emulator's settings. Press that ... button which is located on the side panel of emulator, ......
Read more >
pyopengl-users Mailing List for PyOpenGL (Page 6)
Re: [PyOpenGL-Users] Attribute error using PyOpenGL and PyOpenCL ... as err: > print "Shader compilation error:", err > raise > self.vbo = vbo....
Read more >
About - Shadertoy BETA
Shadertoy is created by Beautypi (Inigo Quilez and Pol Jeremias). ... Fixed shader compile-error reporting bug ... 13/07/2013 - Release 0.3.0
Read more >
ShaderFrog/A-Frame Export - Popular Blocks
Getting it working with A-Frame is a bit of a hack, attempting to wrap the whole thing in a component resulted in shader...
Read more >
Custom shader compilation errors - HTML5 Game Devs Forum
Everything runs smoothly except of a custom shader of ours. The piece of code that creates the compilation error: if(alpha>0.0){ vec3 mixRGB ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found