Hi,
I have a opengl application which uses multisampled 2d textures. I would like to use the data of all the samples in cuda and therefore would like to get a cudaArray which allows me to access all sample data of that texture. Can this be done?
Currently the only way I can think of is to “unpack” the multisampled texture into multiple non-multisampled textures by rendering a screenquad with a shader which fetches the samples from the multisample texture and writes them into multiple output textures.
Are there any better solutions?
Thanks for any hint in advance.
David