From 9531a2928369bcc094c28b77408811d47c46c7f2 Mon Sep 17 00:00:00 2001 From: Subv Date: Sat, 21 Apr 2018 19:19:33 -0500 Subject: 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. --- src/video_core/engines/maxwell_3d.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/video_core/engines') diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index d4fcedace..609504795 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -500,6 +500,11 @@ public: return static_cast((static_cast(start_high) << 32) | start_low); } + + bool IsEnabled() const { + return enable != 0 && StartAddress() != 0; + } + } vertex_array[NumVertexArrays]; Blend blend; -- cgit v1.2.3