PVRTexLib Linux 64 bit ETC2_A8 corruption

This topic contains 2 replies, has 2 voices, and was last updated by  Greg 2 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #51164

    Greg
    Member

    The news is very upsetting.

    I’ve just tried using the latest version of PVRTEXLIB on Linux 64 bit, and this version also generates corrupt ETC2_A8 images.
    Perhaps this is the same issue as here:

    PVRTexToolCLI bug encoding ETC2_RGB_A1, ETC2_RGB_A1,UBN,sRGB

    #51250

    pauls
    Member

    Hello Greg,

    Could you please specify the encoding parameters you are choosing and a test image?

    Thanks,
    Paul

    #51257

    Greg
    Member

    Hi,

    I’m using following code:
    [code]int w=1024, h=512;
    CPVRTextureHeader header(PVRStandard8PixelType.PixelTypeID, h, w);
    CPVRTexture texture(header, data);
    if(Transcode(texture, ePVRTPF_ETC2_RGBA, ePVRTVarTypeUnsignedByteNorm, ePVRTCSpacelRGB, eETCFastPerceptual, false))
    [/code]

    And the attached image.

    This issue happens only on Linux 64.
    I have tested Win 32/64 and Mac 64 and there it’s okay.

    On Linux sometimes I get pure garbage as output, while sometimes the image looks okay, but turns out it was repositioned up by several pixels.

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.