diff options
| author | 2020-04-17 18:37:27 -0300 | |
|---|---|---|
| committer | 2020-04-18 19:21:19 -0300 | |
| commit | ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06 (patch) | |
| tree | 2f14fb8f5cc9710ee02fb5a52909c56367aafc75 /src/video_core/engines | |
| parent | Merge pull request #3703 from yuzu-emu/revert-3656-glsl-full-decompile (diff) | |
| download | yuzu-ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06.tar.gz yuzu-ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06.tar.xz yuzu-ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06.zip | |
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: | |||
| 1149 | 1149 | ||
| 1150 | /// Returns whether the vertex array specified by index is supposed to be | 1150 | /// Returns whether the vertex array specified by index is supposed to be |
| 1151 | /// accessed per instance or not. | 1151 | /// accessed per instance or not. |
| 1152 | bool IsInstancingEnabled(u32 index) const { | 1152 | bool IsInstancingEnabled(std::size_t index) const { |
| 1153 | return is_instanced[index]; | 1153 | return is_instanced[index]; |
| 1154 | } | 1154 | } |
| 1155 | } instanced_arrays; | 1155 | } instanced_arrays; |