diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2021-02-20 19:01:28 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2021-02-21 03:33:56 +0300 |
commit | 6fa984a1afaadcfd5d7a630da4c44bdee4676bd5 (patch) | |
tree | 84d3870456de855963a3757dd529a1683f485786 /source/blender/draw/intern/draw_manager_texture.c | |
parent | 1a9fe57a9f6e53e5f34c95441be27296dadefa75 (diff) |
GPU: Add RGB10_A2 format support
Nice format to output high definition normals or normalized colors.
Diffstat (limited to 'source/blender/draw/intern/draw_manager_texture.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager_texture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_manager_texture.c b/source/blender/draw/intern/draw_manager_texture.c index e9432f370b8..73afdd6e1e3 100644 --- a/source/blender/draw/intern/draw_manager_texture.c +++ b/source/blender/draw/intern/draw_manager_texture.c @@ -43,6 +43,7 @@ static bool drw_texture_format_supports_framebuffer(eGPUTextureFormat format) case GPU_RG16F: case GPU_RG16I: case GPU_RG32F: + case GPU_RGB10_A2: case GPU_R11F_G11F_B10F: case GPU_RGBA8: case GPU_RGBA16: |