Fix Cycles OpenCL textures after recent CUDA fix.
[blender.git] / intern / cycles / kernel / kernel_textures.h
index f45da39bad5f692a59423a02cb33035a05528a34..8d5bb75a428fdb4a542d6818a1ea4ac9e790ad84 100644 (file)
@@ -186,13 +186,11 @@ KERNEL_TEX(uint, texture_uint, __bindless_mapping)
 #endif
 
 /* packed image (opencl) */
-#ifdef __KERNEL_OPENCL__
 KERNEL_TEX(uchar4, texture_uchar4, __tex_image_byte4_packed)
 KERNEL_TEX(float4, texture_float4, __tex_image_float4_packed)
 KERNEL_TEX(uchar, texture_uchar, __tex_image_byte_packed)
 KERNEL_TEX(float, texture_float, __tex_image_float_packed)
 KERNEL_TEX(uint4, texture_uint4, __tex_image_packed_info)
-#endif
 
 #undef KERNEL_TEX
 #undef KERNEL_IMAGE_TEX