Cycles: Correct maximum number of textures on pre-Kepler CUDA cards
authorLukas Stockner <lukas.stockner@freenet.de>
Wed, 10 Aug 2016 15:17:46 +0000 (17:17 +0200)
committerLukas Stockner <lukas.stockner@freenet.de>
Wed, 10 Aug 2016 15:19:16 +0000 (17:19 +0200)
Commit c96ae81160ad added three data textures and therefore removed three image texture slots, but the value in util_textures.h wasn't updated.

intern/cycles/util/util_texture.h

index 2ef4728302912a1871c38798423d73d6ad7da415..0cecfe91ea9317ffa385b85183b314f27fc4e1d3 100644 (file)
@@ -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