Pretty much the title. If I bind a texture of integers as a render target (R32_INT), how can I clear the render target? The SDL_GPUColorTargetInfo only takes floats and in the vulkan GPU implementation, only clearColor.float32 is set.
My use case is edge detection where I only need a boolean. Thanks
Pretty much the title. If I bind a texture of integers as a render target (
R32_INT
), how can I clear the render target? TheSDL_GPUColorTargetInfo
only takes floats and in the vulkan GPU implementation, onlyclearColor.float32
is set.My use case is edge detection where I only need a boolean. Thanks