This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Why glCompressedTexSubImage2D fails with INVALID OPERATION on GLES3.0 emulator.

I am trying to replay GLES 3.0 traces. Following are the order of APIs

glGenTextures(n = 1, textures = &10)

glBindTexture(target = GL_TEXTURE_2D, texture = 10)

glTexStorage2D(target = GL_TEXTURE_2D, levels = 12, internalformat = GL_COMPRESSED_RGB8_ETC2, width = 2048, height = 2048)

glGenBuffers(n = 1, buffer = &74)

glBindBuffer(target = GL_PIXEL_UNPACK_BUFFER, buffer = 74)

glBufferData(target = GL_PIXEL_UNPACK_BUFFER, size = 2796216, data = blob(2796216), usage = GL_STATIC_DRAW)

glCompressedTexSubImage2D(target = GL_TEXTURE_2D, level = 0, xoffset = 0, yoffset = 0, width = 2048, height = 2048, format = GL_COMPRESSED_RGB8_ETC2, imageSize = 2097152, data = NULL)

All APIs except glCompressedTexSubImage2D works fine.Please confirm if ARM GLES 3.0 emulator supports GL_COMPRESSED_RGB8_ETC2 format and this API.

Parents Reply Children
  • Hi Sunil,

    we have just released a new version of the GLES 3.0 emulator, with many bug fixes and a lot of code refactoring on our side. Unfortunaly this still does not solve the issue you were having, but we are working on it.

    We will update this thread again once this is solved.

    Thanks,

    Lorenzo