mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-27 17:07:10 +02:00
Use explicit buffer and texture bindings on shaders (#1666)
* Use explicit buffer and texture bindings on shaders * More XML docs and other nits
This commit is contained in:
parent
a4386acbb8
commit
c4f6664ad8
20 changed files with 496 additions and 551 deletions
|
@ -42,9 +42,9 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
ResourcePool = new ResourcePool();
|
||||
}
|
||||
|
||||
public IShader CompileShader(ShaderProgram shader)
|
||||
public IShader CompileShader(ShaderStage stage, string code)
|
||||
{
|
||||
return new Shader(shader);
|
||||
return new Shader(stage, code);
|
||||
}
|
||||
|
||||
public BufferHandle CreateBuffer(int size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue