mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-15 06:57:55 +00:00
GPU: Refactor "VertexShader" namespace to "Shader".
- Also renames "vertex_shader.*" to "shader_interpreter.*"
This commit is contained in:
parent
4b7664fe12
commit
f622a78544
14 changed files with 49 additions and 51 deletions
|
@ -7,7 +7,7 @@
|
|||
#include "common/common_types.h"
|
||||
|
||||
namespace Pica {
|
||||
namespace VertexShader {
|
||||
namespace Shader {
|
||||
struct OutputVertex;
|
||||
}
|
||||
}
|
||||
|
@ -24,9 +24,9 @@ public:
|
|||
virtual void Reset() = 0;
|
||||
|
||||
/// Queues the primitive formed by the given vertices for rendering
|
||||
virtual void AddTriangle(const Pica::VertexShader::OutputVertex& v0,
|
||||
const Pica::VertexShader::OutputVertex& v1,
|
||||
const Pica::VertexShader::OutputVertex& v2) = 0;
|
||||
virtual void AddTriangle(const Pica::Shader::OutputVertex& v0,
|
||||
const Pica::Shader::OutputVertex& v1,
|
||||
const Pica::Shader::OutputVertex& v2) = 0;
|
||||
|
||||
/// Draw the current batch of triangles
|
||||
virtual void DrawTriangles() = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue