mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-11 18:28:50 +02:00
* Removed unused usings. * Added back using, now that it's used. * Removed extra whitespace.
23 lines
609 B
C#
23 lines
609 B
C#
namespace Ryujinx.Graphics.GAL.Multithreading.Resources.Programs
|
|
{
|
|
class SourceProgramRequest : IProgramRequest
|
|
{
|
|
public ThreadedProgram Threaded { get; set; }
|
|
|
|
private ShaderSource[] _shaders;
|
|
private ShaderInfo _info;
|
|
|
|
public SourceProgramRequest(ThreadedProgram program, ShaderSource[] shaders, ShaderInfo info)
|
|
{
|
|
Threaded = program;
|
|
|
|
_shaders = shaders;
|
|
_info = info;
|
|
}
|
|
|
|
public IProgram Create(IRenderer renderer)
|
|
{
|
|
return renderer.CreateProgram(_shaders, _info);
|
|
}
|
|
}
|
|
}
|