mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-18 19:18:16 -05:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user