f09bba82b9
* 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
20 lines
571 B
C#
20 lines
571 B
C#
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;
|
|
}
|
|
}
|
|
}
|