You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
jsoulier
changed the title
SDL GPU clear color texture of integers
SDL GPU clear texture of integers on render pass begin
Nov 12, 2024
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
The text was updated successfully, but these errors were encountered: