mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
5742ccf8de
Metal pipelines hold less stuff than Dolphin pipelines, so duplicates will appear
24 lines
475 B
C++
24 lines
475 B
C++
// Copyright 2022 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <Metal/Metal.h>
|
|
|
|
#include "VideoBackends/Metal/MRCHelpers.h"
|
|
|
|
#include "VideoCommon/NativeVertexFormat.h"
|
|
|
|
namespace Metal
|
|
{
|
|
class VertexFormat : public NativeVertexFormat
|
|
{
|
|
public:
|
|
VertexFormat(const PortableVertexDeclaration& vtx_decl);
|
|
|
|
MTLVertexDescriptor* Get() const { return m_desc; }
|
|
|
|
MRCOwned<MTLVertexDescriptor*> m_desc;
|
|
};
|
|
} // namespace Metal
|