blob: 96bfedf8dd18281b5c89ed4193e18ee49f27a921 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
namespace Ryujinx.Graphics.GAL.Multithreading.Resources.Programs
{
class BinaryProgramRequest : IProgramRequest
{
public ThreadedProgram Threaded { get; set; }
private byte[] _data;
public BinaryProgramRequest(ThreadedProgram program, byte[] data)
{
Threaded = program;
_data = data;
}
public IProgram Create(IRenderer renderer)
{
return renderer.LoadProgramBinary(_data);
}
}
}
|