I'm trying to Map and Umpap mipmap levels of a compressed texture created with the DXGI_FORMAT_BC3_UNORM format.
The problem is that I get an E_INVALIDARG error when I create the texture object with D3D11_CPU_ACCESS_WRITE (even with D3D11_USAGE_DYNAMIC or D3D11_USAGE_DEFAULT flags) using this format, but works ok if i define 1 mipmap level.
This is the code I'm using to create the texture:
This problem did not sowed in DX9 using 2 miplevels and D3DFMT_DXT5 format in a line like:
IDirect3DTexture9 * myTexture;
any suggestions will be appreciated, thanks in advance.