diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-17 18:37:27 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-18 19:21:19 -0300 |
| commit | ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06 (patch) | |
| tree | 2f14fb8f5cc9710ee02fb5a52909c56367aafc75 /src/video_core/engines | |
| parent | 2133482a177261ec43b9f39859a20ea18433db25 (diff) | |
fixed_pipeline_state: Pack attribute state
Reduce FixedPipelineState's size from 1384 to 664 bytes
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 5cf6a4cc3..59d5752d2 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -1149,7 +1149,7 @@ public: /// Returns whether the vertex array specified by index is supposed to be /// accessed per instance or not. - bool IsInstancingEnabled(u32 index) const { + bool IsInstancingEnabled(std::size_t index) const { return is_instanced[index]; } } instanced_arrays; |
