mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-14 10:48:28 +12:00
prepare for surface copy
This commit is contained in:
parent
eb573fcaca
commit
8316cee59a
9 changed files with 124 additions and 48 deletions
|
@ -0,0 +1,19 @@
|
|||
#include "Cafe/HW/Latte/Renderer/Metal/MetalCommon.h"
|
||||
#include "HW/Latte/Renderer/Metal/MetalRenderer.h"
|
||||
#include "Metal/MTLLibrary.hpp"
|
||||
#include "Metal/MTLRenderPipeline.hpp"
|
||||
|
||||
class MetalHybridComputePipeline
|
||||
{
|
||||
public:
|
||||
MetalHybridComputePipeline(class MetalRenderer* mtlRenderer, MTL::Library* library, const char* vertexFunctionName, const char* kernelFunctionName);
|
||||
~MetalHybridComputePipeline();
|
||||
|
||||
MTL::RenderPipelineState* GetRenderPipelineState() const { return m_renderPipelineState; }
|
||||
|
||||
MTL::RenderPipelineState* GetComputePipelineState() const { return m_computePipelineState; }
|
||||
|
||||
private:
|
||||
MTL::RenderPipelineState* m_renderPipelineState;
|
||||
MTL::RenderPipelineState* m_computePipelineState;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue