mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-14 10:48:28 +12:00
use texture views for surface copies
This commit is contained in:
parent
366be049a4
commit
163eeea102
4 changed files with 54 additions and 42 deletions
|
@ -3,17 +3,18 @@
|
|||
#include "Metal/MTLLibrary.hpp"
|
||||
#include "Metal/MTLRenderPipeline.hpp"
|
||||
|
||||
// TODO: rename to MetalVoidVertexPipeline
|
||||
class MetalHybridComputePipeline
|
||||
{
|
||||
public:
|
||||
MetalHybridComputePipeline(class MetalRenderer* mtlRenderer, MTL::Library* library, const char* vertexFunctionName, const char* kernelFunctionName);
|
||||
MetalHybridComputePipeline(class MetalRenderer* mtlRenderer, MTL::Library* library, const std::string& vertexFunctionName/*, const std::string& kernelFunctionName*/);
|
||||
~MetalHybridComputePipeline();
|
||||
|
||||
MTL::RenderPipelineState* GetRenderPipelineState() const { return m_renderPipelineState; }
|
||||
|
||||
MTL::RenderPipelineState* GetComputePipelineState() const { return m_computePipelineState; }
|
||||
//MTL::RenderPipelineState* GetComputePipelineState() const { return m_computePipelineState; }
|
||||
|
||||
private:
|
||||
MTL::RenderPipelineState* m_renderPipelineState;
|
||||
MTL::RenderPipelineState* m_computePipelineState;
|
||||
//MTL::RenderPipelineState* m_computePipelineState;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue