mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-02-03 05:22:59 -06:00
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
21 lines
571 B
C#
21 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;
|
|
}
|
|
}
|
|
}
|