mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-24 10:22:01 +00: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();
|
|
}
|
|
} |