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:
authorThomas Dinges <blender@dingto.org>2018-02-18 00:56:58 +0300
committerThomas Dinges <blender@dingto.org>2018-02-18 00:56:58 +0300
commit9e717c0495a3f9b71d3895d35df1e15518b6ca2c (patch)
tree6371788a67c11a781b8f862a56e5d940646dffbe /intern/cycles/kernel/kernel_compat_cuda.h
parente1ef902058149b6feee96d87e58b26582c522b2d (diff)
Cycles: Remove Fermi texture code.
This should be the last Fermi removal commit, unless I missed something. It's been a pleasure Fermi!
Diffstat (limited to 'intern/cycles/kernel/kernel_compat_cuda.h')
-rw-r--r--intern/cycles/kernel/kernel_compat_cuda.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/intern/cycles/kernel/kernel_compat_cuda.h b/intern/cycles/kernel/kernel_compat_cuda.h
index 1daa7f0db16..9bd7a572f5f 100644
--- a/intern/cycles/kernel/kernel_compat_cuda.h
+++ b/intern/cycles/kernel/kernel_compat_cuda.h
@@ -135,18 +135,9 @@ ccl_device_inline uint ccl_num_groups(uint d)
/* Textures */
-/* Use arrays for regular data. This is a little slower than textures on Fermi,
- * but allows for cleaner code and we will stop supporting Fermi soon. */
+/* Use arrays for regular data. */
#define kernel_tex_fetch(t, index) t[(index)]
-/* On Kepler (6xx) and above, we use Bindless Textures for images.
- * On Fermi cards (4xx and 5xx), we have to use regular textures. */
-#if __CUDA_ARCH__ < 300
-typedef texture<float4, 2> texture_image_float4;
-typedef texture<float4, 3> texture_image3d_float4;
-typedef texture<uchar4, 2, cudaReadModeNormalizedFloat> texture_image_uchar4;
-#endif
-
#define kernel_data __data
/* Use fast math functions */