BeginComputePass
This commit is contained in:
parent
3d42543f03
commit
96bbc86331
1 changed files with 11 additions and 0 deletions
|
@ -74,6 +74,17 @@ namespace Ryujinx.Graphics.Metal
|
||||||
return blitCommandEncoder;
|
return blitCommandEncoder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MTLComputeCommandEncoder BeginComputePass()
|
||||||
|
{
|
||||||
|
EndCurrentPass();
|
||||||
|
|
||||||
|
var descriptor = new MTLComputePassDescriptor { };
|
||||||
|
var computeCommandEncoder = _commandBuffer.ComputeCommandEncoder(descriptor);
|
||||||
|
|
||||||
|
_currentEncoder = computeCommandEncoder;
|
||||||
|
return computeCommandEncoder;
|
||||||
|
}
|
||||||
|
|
||||||
public void Present()
|
public void Present()
|
||||||
{
|
{
|
||||||
EndCurrentPass();
|
EndCurrentPass();
|
||||||
|
|
Loading…
Reference in a new issue