GPU: Support multiple enabled vertex arrays.
The vertex arrays will be copied to the stream buffer one after the other, and the attributes will be set using the ARB_vertex_attrib_binding extension. yuzu now thus requires OpenGL 4.3 or the ARB_vertex_attrib_binding extension.
This commit is contained in:
parent
62937798a0
commit
9531a29283
3 changed files with 89 additions and 43 deletions
|
@ -500,6 +500,11 @@ public:
|
|||
return static_cast<GPUVAddr>((static_cast<GPUVAddr>(start_high) << 32) |
|
||||
start_low);
|
||||
}
|
||||
|
||||
bool IsEnabled() const {
|
||||
return enable != 0 && StartAddress() != 0;
|
||||
}
|
||||
|
||||
} vertex_array[NumVertexArrays];
|
||||
|
||||
Blend blend;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue