You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have another crash test, but it's difficult to reproduce ...
Surprisingly it's the opposite of the above test case, i.e. blitting a XRGB32 image over an A8 image ...
I'm using the master branch (10-march-2024) and when I try to blit a XRGB32 image in a context with an attached A8 image, I get the following warning
bl::Pipeline::JIT assembling error: InvalidInstruction: vpackuswb xmm@255,
Blend2D error 0x10002 INVALID_STATE
The text was updated successfully, but these errors were encountered:
Just a correction:
What I'm trying to do is working with PRGB32 images (not XRGB32 images) and A8 images.
You should then correct the above fiddle script. Anyway, the result is the same.
Trying to copy BLImages (with different format) among different BLcontexts, causes a crash.
Here's a minimal fiddle.
// ========================================
BLImage render(const BLContextCreateInfo& cci) {
BLImage img0(400, 400, BL_FORMAT_A8);
BLImage img1(400, 400, BL_FORMAT_XRGB32);
// ... initialize img0 and img1
// copy img1 (RGB) -> img0 (A8) OK
BLContext ctx0(img0);
ctx0.blitImage(BLPointI(0,0),img1);
// copy img0 (A8) -> img1 (RGB) CRASH
BLContext ctx1(img1);
ctx1.blitImage(BLPointI(0,0),img0);
return img1;
}
I have another crash test, but it's difficult to reproduce ...
Surprisingly it's the opposite of the above test case, i.e. blitting a XRGB32 image over an A8 image ...
I'm using the master branch (10-march-2024) and when I try to blit a XRGB32 image in a context with an attached A8 image, I get the following warning
bl::Pipeline::JIT assembling error: InvalidInstruction: vpackuswb xmm@255,
Blend2D error 0x10002 INVALID_STATE
The text was updated successfully, but these errors were encountered: