From 83a4d51997f24a31631217f819f00a6db68fb0cb Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Wed, 17 Nov 2021 11:15:41 +0100 Subject: Cleanup: Remove unused show_samples() device code in Cycles. --- intern/cycles/device/hip/device_impl.cpp | 6 ------ intern/cycles/device/hip/device_impl.h | 2 -- 2 files changed, 8 deletions(-) (limited to 'intern/cycles/device/hip') diff --git a/intern/cycles/device/hip/device_impl.cpp b/intern/cycles/device/hip/device_impl.cpp index 71f3b7ce4fe..950fcaf1816 100644 --- a/intern/cycles/device/hip/device_impl.cpp +++ b/intern/cycles/device/hip/device_impl.cpp @@ -47,12 +47,6 @@ bool HIPDevice::have_precompiled_kernels() return path_exists(fatbins_path); } -bool HIPDevice::show_samples() const -{ - /* The HIPDevice only processes one tile at a time, so showing samples is fine. */ - return true; -} - BVHLayoutMask HIPDevice::get_bvh_layout_mask() const { return BVH_LAYOUT_BVH2; diff --git a/intern/cycles/device/hip/device_impl.h b/intern/cycles/device/hip/device_impl.h index 48d7bdef032..08a7be57e9c 100644 --- a/intern/cycles/device/hip/device_impl.h +++ b/intern/cycles/device/hip/device_impl.h @@ -75,8 +75,6 @@ class HIPDevice : public Device { static bool have_precompiled_kernels(); - virtual bool show_samples() const override; - virtual BVHLayoutMask get_bvh_layout_mask() const override; void set_error(const string &error) override; -- cgit v1.2.3