Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2017-05-20 14:11:21 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-05-20 17:58:07 +0300
commit4c3382d55f98c721f6116919acce4abba8f01f11 (patch)
tree94d1afafec67e8ee1ea7663e6cbf5dc5db50cdbb /source/blender/gpu/GPU_texture.h
parent3f1a7aec13cc0cf5c441e463dbd8e9ffdd4b4f44 (diff)
GPUTexture: Enabling R32 format for linear depth encoding.
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r--source/blender/gpu/GPU_texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h
index bd98f4534b3..01390760beb 100644
--- a/source/blender/gpu/GPU_texture.h
+++ b/source/blender/gpu/GPU_texture.h
@@ -67,6 +67,7 @@ typedef enum GPUTextureFormat {
GPU_RGBA8,
GPU_RG32F,
GPU_RG16F,
+ GPU_R32F,
GPU_R16F,
GPU_R8,
#if 0
@@ -85,7 +86,6 @@ typedef enum GPUTextureFormat {
GPU_RG8,
GPU_RG8I,
GPU_RG8UI,
- GPU_R32F,
GPU_R32I,
GPU_R32UI,
GPU_R16I,