How to generate Mipmaps in a compute shader

Hey,

I would like to generate Mipmaps of an image where I need a custom filter, so something else than offered by vkCmdBlitImage/VkFilter. Namely, I want to get the minimum or maximum of 4-texel blocks and generate the next Mipmap layer this way. Does it even make sense to store this as image Mipmaps or am I better off using a different mechanism?
If yes, how can I achieve this to write to a Mipmap layer from within a shader?

Hi,

The AMD FidelityFX Single Pass Downsampler (SPD) does that and lets you use your own filter.
I can’t use links in my post but you can google it.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.