Geometry shader emulation for macOS (#5551)
* Implement vertex and geometry shader conversion to compute * Call InitializeReservedCounts for compute too * PR feedback * Set clip distance mask for geometry and tessellation shaders too * Transform feedback emulation only for vertex
This commit is contained in:
20
src/Ryujinx.Graphics.Gpu/Shader/ShaderAsCompute.cs
Normal file
20
src/Ryujinx.Graphics.Gpu/Shader/ShaderAsCompute.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Ryujinx.Graphics.GAL;
|
||||
using Ryujinx.Graphics.Shader;
|
||||
using Ryujinx.Graphics.Shader.Translation;
|
||||
|
||||
namespace Ryujinx.Graphics.Gpu.Shader
|
||||
{
|
||||
class ShaderAsCompute
|
||||
{
|
||||
public IProgram HostProgram { get; }
|
||||
public ShaderProgramInfo Info { get; }
|
||||
public ResourceReservations Reservations { get; }
|
||||
|
||||
public ShaderAsCompute(IProgram hostProgram, ShaderProgramInfo info, ResourceReservations reservations)
|
||||
{
|
||||
HostProgram = hostProgram;
|
||||
Info = info;
|
||||
Reservations = reservations;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user