Hi
Calls to glTextureStorage3D (DSA, immutable storage) fail no matter what parameters I give. Tested on two AMD GPUs with latest drivers.
[High Api Error] glTextureStorage3D has generated an error (GL_INVALID_OPERATION)
[High Api Error] glCompressedTextureSubImage3D has generated an error (GL_INVALID_OPERATION)
[High Api Error] glTextureStorage3D has generated an error (GL_INVALID_OPERATION)
[High Api Error] glCompressedTextureSubImage3D has generated an error (GL_INVALID_VALUE)
Same with non-DSA versions:
[High Api Error] glTexStorage3D has generated an error (GL_INVALID_OPERATION)
[High Api Error] glCompressedTexSubImage3D has generated an error (GL_INVALID_OPERATION)
glTexImage3D and glCompressedTexImage3D on the other hand work fine.
Intel and Nvidia drivers work fine with all versions.
GitHub issue with reproduce steps here: https://github.com/ValveResourceFormat/ValveResourceFormat/issues/721