mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-20 22:07:55 -05:00
general: fix compile for Apple Clang
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
|
||||
#include "common/polyfill_ranges.h"
|
||||
#include "video_core/texture_cache/formatter.h"
|
||||
#include "video_core/texture_cache/image_base.h"
|
||||
#include "video_core/texture_cache/image_info.h"
|
||||
|
@ -13,7 +13,7 @@ namespace VideoCommon {
|
||||
|
||||
/// Framebuffer properties used to lookup a framebuffer
|
||||
struct RenderTargets {
|
||||
constexpr auto operator<=>(const RenderTargets&) const noexcept = default;
|
||||
constexpr bool operator==(const RenderTargets&) const noexcept = default;
|
||||
|
||||
constexpr bool Contains(std::span<const ImageViewId> elements) const noexcept {
|
||||
const auto contains = [elements](ImageViewId item) {
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
#include "common/assert.h"
|
||||
#include "common/common_types.h"
|
||||
#include "common/polyfill_ranges.h"
|
||||
|
||||
namespace VideoCommon {
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "common/hash.h"
|
||||
#include "common/literals.h"
|
||||
#include "common/lru_cache.h"
|
||||
#include "common/polyfill_ranges.h"
|
||||
#include "video_core/compatible_formats.h"
|
||||
#include "video_core/control/channel_state_cache.h"
|
||||
#include "video_core/delayed_destruction_ring.h"
|
||||
@ -60,8 +61,6 @@ public:
|
||||
TextureCacheChannelInfo(Tegra::Control::ChannelState& state) noexcept;
|
||||
TextureCacheChannelInfo(const TextureCacheChannelInfo& state) = delete;
|
||||
TextureCacheChannelInfo& operator=(const TextureCacheChannelInfo&) = delete;
|
||||
TextureCacheChannelInfo(TextureCacheChannelInfo&& other) noexcept = default;
|
||||
TextureCacheChannelInfo& operator=(TextureCacheChannelInfo&& other) noexcept = default;
|
||||
|
||||
DescriptorTable<TICEntry> graphics_image_table{gpu_memory};
|
||||
DescriptorTable<TSCEntry> graphics_sampler_table{gpu_memory};
|
||||
|
Reference in New Issue
Block a user