mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-26 11:41:29 +01:00
25dd5f4238
* Add GalPipelineState and IGalPipeline * Separate UploadVertex call * Add ConstBuffer cache * Move Vertex Assembly into GalPipelineState * Move Uniform binds to GalPipelineState * Move framebuffer flip into a buffer * Rebase * Fix regression * Move clear values from VertexEndGl to ClearBuffers * Rename obscure names O->Old S->New
22 lines
No EOL
513 B
C#
22 lines
No EOL
513 B
C#
using System;
|
|
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 EnsureTextureBinding(string UniformName, int Value);
|
|
|
|
void Bind(long Key);
|
|
|
|
void Unbind(GalShaderType Type);
|
|
|
|
void BindProgram();
|
|
}
|
|
} |