Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Tags in this Discussion

DDS textures and OptiX 2.5
  • Hello,

    I use OptiX with DirectX 11 and I just downloaded the v2.5 RC3. It looks like the docs are still the same as for the v2.1 so I have a few questions regarding the v2.5.

    1) Can I use compressed DDS textures as input for OptiX programs?
    2) Can I remove D3D11_CPU_ACCESS_READ requirement for textures?

    Thanks
    B.
  • 3 Comments sorted by
  • I can only answer your first question. Sadly the answer is no. Until CUDA has support for compressed textures OptiX cannot unless you roll the code yourself. I did start a thread ages ago to try and pool together requests for this but there is still not enough people asking for its support in the CUDA community.
  • As for the second question. I'm not sure what the official stance is, but I just made a d3d interop demo for DX9/10/11 and did not have to specify CPU_ACCESS_READ for D3D10/11.
  • Indeed; if GPU memory is not at a premium, then the workaround I use and I'd suggest is to use a full-screen quad to blit the compressed texture into a rendertarget, which has a format that optix supports, and interop that one instead.