Blocking local test failure after merging non-RGBA8 multisampled framebuffers
See original GitHub issueSince merging #7619 I’m consistently getting this error. It’s blocking me from making a new v7 release. This isn’t failing on CI.
Summary of all failing tests
FAIL packages/core/test/RenderTexture.tests.ts
● Test suite failed to run
● RenderTexture › FloatRenderTexture › should render correctly with mask, multisampling, and format RED / type FLOAT
expect(received).toEqual(expected) // deep equality
Expected: 1
Received: 0.30000001192092896
387 | gl.readPixels(0, 0, 1, 1, gl.RED, gl.FLOAT, pixel);
388 |
> 389 | expect(pixel[0]).toEqual(1.0);
| ^
390 |
391 | pixel.set([0.1]);
392 |
at Object.<anonymous> (packages/core/test/RenderTexture.tests.ts:389:30)
● RenderTexture › FloatRenderTexture › should resize multisampled framebuffer with format RED / type FLOAT
expect(received).toEqual(expected) // deep equality
Expected: 1
Received: 0.30000001192092896
430 | gl.readPixels(1, 1, 1, 1, gl.RED, gl.FLOAT, pixel);
431 |
> 432 | expect(pixel[0]).toEqual(1.0);
| ^
433 | });
434 | });
435 | });
at Object.<anonymous> (packages/core/test/RenderTexture.tests.ts:432:30)
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:16 (16 by maintainers)
Top Results From Across the Web
Framebuffer - OpenGL Wiki - Khronos Group
Any attempt to perform read operations will fail with an error (GL_INVALID_OPERATION). Draw color buffers. Much as with the read buffer, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Seems that there is some problem
renderer.framebuffer.blit()
. Let me see if I can fix this…Changing MSAA_QUALITY didn’t seem to work 🤔