diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2016-08-10 18:17:46 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2016-08-10 18:19:16 +0300 |
commit | bbbc079a6c03b0df863ab0aae8b7838d4eb41cbb (patch) | |
tree | 5f8931535e145a15a3dee2a66ca9f7353aaa0e95 | |
parent | ebdb5490b3a63e37ac5638f8a06737cf34ba36d3 (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.h | 2 |
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 |