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>2021-11-17 13:15:41 +0300
committerThomas Dinges <blender@dingto.org>2021-11-17 13:16:48 +0300
commit83a4d51997f24a31631217f819f00a6db68fb0cb (patch)
treed3c6bd85c8c8bb5b0a14b37e0823da7aa53faeaf /intern/cycles/device/cuda/device_impl.cpp
parentc2ab47e7296a5fc7f9814153354567f608d41f00 (diff)
Cleanup: Remove unused show_samples() device code in Cycles.
Diffstat (limited to 'intern/cycles/device/cuda/device_impl.cpp')
-rw-r--r--intern/cycles/device/cuda/device_impl.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/intern/cycles/device/cuda/device_impl.cpp b/intern/cycles/device/cuda/device_impl.cpp
index 95629c57908..5ab73a6b9ef 100644
--- a/intern/cycles/device/cuda/device_impl.cpp
+++ b/intern/cycles/device/cuda/device_impl.cpp
@@ -46,12 +46,6 @@ bool CUDADevice::have_precompiled_kernels()
return path_exists(cubins_path);
}
-bool CUDADevice::show_samples() const
-{
- /* The CUDADevice only processes one tile at a time, so showing samples is fine. */
- return true;
-}
-
BVHLayoutMask CUDADevice::get_bvh_layout_mask() const
{
return BVH_LAYOUT_BVH2;