[Bf-blender-cvs] [347a097a627] greasepencil-refactor: GPU: Texture: Fix mistake in format classification
Clément Foucault
noreply at git.blender.org
Fri Dec 13 19:45:12 CET 2019
Commit: 347a097a627d7233fcc9fe47ee30f46e71f465ab
Author: Clément Foucault
Date: Fri Dec 13 19:40:22 2019 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rB347a097a627d7233fcc9fe47ee30f46e71f465ab
GPU: Texture: Fix mistake in format classification
sRGBA format is well defined for use with framebuffers (based on 3.3 spec).
===================================================================
M source/blender/gpu/GPU_texture.h
===================================================================
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h
index a8e8ca72023..0d9c6785206 100644
--- a/source/blender/gpu/GPU_texture.h
+++ b/source/blender/gpu/GPU_texture.h
@@ -94,6 +94,7 @@ typedef enum eGPUTextureFormat {
#if 0
GPU_RGB10_A2,
GPU_RGB10_A2UI,
+ GPU_SRGB8_A8,
#endif
GPU_R11F_G11F_B10F,
GPU_DEPTH32F_STENCIL8,
@@ -123,7 +124,6 @@ typedef enum eGPUTextureFormat {
/* Special formats texture only */
#if 0
- GPU_SRGB8_A8,
GPU_SRGB8,
GPU_RGB9_E5,
GPU_COMPRESSED_RG_RGTC2,
More information about the Bf-blender-cvs
mailing list