2023-07-18 16:31:31 +02:00
|
|
|
// Copyright 2023 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "common/slot_vector.h"
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace VideoCore {
|
|
|
|
|
|
|
|
using SurfaceId = Common::SlotId;
|
|
|
|
using SamplerId = Common::SlotId;
|
2023-08-01 02:35:41 +02:00
|
|
|
using FramebufferId = Common::SlotId;
|
2023-07-18 16:31:31 +02:00
|
|
|
|
|
|
|
/// Fake surface ID for null surfaces
|
|
|
|
constexpr SurfaceId NULL_SURFACE_ID{0};
|
|
|
|
/// Fake surface ID for null cube surfaces
|
|
|
|
constexpr SurfaceId NULL_SURFACE_CUBE_ID{1};
|
|
|
|
/// Fake sampler ID for null samplers
|
|
|
|
constexpr SamplerId NULL_SAMPLER_ID{0};
|
|
|
|
|
|
|
|
} // namespace VideoCore
|