diff options
| author | bunnei <bunneidev@gmail.com> | 2018-04-24 01:09:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-24 01:09:02 -0400 |
| commit | 07dc0bbf3e10c030a32f6853de31642162ce988d (patch) | |
| tree | a6f3ae5a2a5a6567c6c8293a60352c9db83d9da2 /src/video_core/engines | |
| parent | 0214351f4f0e9377792f8ceb657e3a47aba334d1 (diff) | |
| parent | 9531a2928369bcc094c28b77408811d47c46c7f2 (diff) | |
Merge pull request #379 from Subv/multi_buffers
GPU: Support multiple enabled vertex arrays.
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<GPUVAddr>((static_cast<GPUVAddr>(start_high) << 32) | start_low); } + + bool IsEnabled() const { + return enable != 0 && StartAddress() != 0; + } + } vertex_array[NumVertexArrays]; Blend blend; |
