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:
authorLukas Stockner <lukas.stockner@freenet.de>2016-08-10 18:17:46 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2016-08-10 18:19:16 +0300
commitbbbc079a6c03b0df863ab0aae8b7838d4eb41cbb (patch)
tree5f8931535e145a15a3dee2a66ca9f7353aaa0e95
parentebdb5490b3a63e37ac5638f8a06737cf34ba36d3 (diff)
Cycles: Correct maximum number of textures on pre-Kepler CUDA cards
Commit c96ae81160ad added three data textures and therefore removed three image texture slots, but the value in util_textures.h wasn't updated.
-rw-r--r--intern/cycles/util/util_texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_texture.h b/intern/cycles/util/util_texture.h
index 2ef47283029..0cecfe91ea9 100644
--- a/intern/cycles/util/util_texture.h
+++ b/intern/cycles/util/util_texture.h
@@ -37,7 +37,7 @@ CCL_NAMESPACE_BEGIN
/* CUDA (Geforce 4xx and 5xx) */
#define TEX_NUM_FLOAT4_CUDA 5
-#define TEX_NUM_BYTE4_CUDA 88
+#define TEX_NUM_BYTE4_CUDA 85
#define TEX_NUM_FLOAT_CUDA 0
#define TEX_NUM_BYTE_CUDA 0
#define TEX_NUM_HALF4_CUDA 0