mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 09:35:27 +00:00
2f37583ab3
* Some small shader related fixes * Address PR feedback
25 lines
603 B
C#
25 lines
603 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Ryujinx.Graphics.Gal
|
|
{
|
|
public interface IGalShader
|
|
{
|
|
void Create(IGalMemory Memory, long Key, GalShaderType Type);
|
|
|
|
void Create(IGalMemory Memory, long VpAPos, long Key, GalShaderType Type);
|
|
|
|
IEnumerable<ShaderDeclInfo> GetTextureUsage(long Key);
|
|
|
|
void SetConstBuffer(long Key, int Cbuf, byte[] Data);
|
|
|
|
void EnsureTextureBinding(string UniformName, int Value);
|
|
|
|
void SetFlip(float X, float Y);
|
|
|
|
void Bind(long Key);
|
|
|
|
void Unbind(GalShaderType Type);
|
|
|
|
void BindProgram();
|
|
}
|
|
} |