PicaVertex -> PICA::Vertex
This commit is contained in:
@@ -61,7 +61,7 @@ void GPU::drawArrays(bool indexed) {
|
||||
}
|
||||
}
|
||||
|
||||
static std::array<PicaVertex, Renderer::vertexBufferSize> vertices;
|
||||
static std::array<PICA::Vertex, Renderer::vertexBufferSize> vertices;
|
||||
|
||||
template <bool indexed, bool useShaderJIT>
|
||||
void GPU::drawArrays() {
|
||||
@@ -249,7 +249,7 @@ void GPU::drawArrays() {
|
||||
shaderUnit.vs.run();
|
||||
}
|
||||
|
||||
PicaVertex& out = vertices[i];
|
||||
PICA::Vertex& out = vertices[i];
|
||||
// Map shader outputs to fixed function properties
|
||||
const u32 totalShaderOutputs = regs[PICA::InternalRegs::ShaderOutputCount] & 7;
|
||||
for (int i = 0; i < totalShaderOutputs; i++) {
|
||||
@@ -265,8 +265,8 @@ void GPU::drawArrays() {
|
||||
renderer.drawVertices(primType, std::span(vertices).first(vertexCount));
|
||||
}
|
||||
|
||||
PicaVertex GPU::getImmediateModeVertex() {
|
||||
PicaVertex v;
|
||||
PICA::Vertex GPU::getImmediateModeVertex() {
|
||||
PICA::Vertex v;
|
||||
const int totalAttrCount = (regs[PICA::InternalRegs::VertexShaderAttrNum] & 0xf) + 1;
|
||||
|
||||
// Copy immediate mode attributes to vertex shader unit
|
||||
|
||||
Reference in New Issue
Block a user