diff options
| author | 2019-06-07 20:36:22 -0300 | |
|---|---|---|
| committer | 2019-06-07 20:36:22 -0300 | |
| commit | 528c15051c8c9f24060a7d61b01e103fdc7413ab (patch) | |
| tree | 8e8fa5272abb1a0cf6049d14da869a81165f575d /src | |
| parent | kepler_compute: Fix block_dim_x encoding (diff) | |
| download | yuzu-528c15051c8c9f24060a7d61b01e103fdc7413ab.tar.gz yuzu-528c15051c8c9f24060a7d61b01e103fdc7413ab.tar.xz yuzu-528c15051c8c9f24060a7d61b01e103fdc7413ab.zip | |
kepler_compute: Use std::array for cbuf info
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/engines/kepler_compute.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/engines/kepler_compute.h b/src/video_core/engines/kepler_compute.h index d02709bb2..6a3309a2c 100644 --- a/src/video_core/engines/kepler_compute.h +++ b/src/video_core/engines/kepler_compute.h | |||
| @@ -153,7 +153,7 @@ public: | |||
| 153 | 153 | ||
| 154 | INSERT_PADDING_WORDS(0x8); | 154 | INSERT_PADDING_WORDS(0x8); |
| 155 | 155 | ||
| 156 | struct { | 156 | struct ConstBufferConfig { |
| 157 | u32 address_low; | 157 | u32 address_low; |
| 158 | union { | 158 | union { |
| 159 | BitField<0, 8, u32> address_high; | 159 | BitField<0, 8, u32> address_high; |
| @@ -163,7 +163,8 @@ public: | |||
| 163 | return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high.Value()) << 32) | | 163 | return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high.Value()) << 32) | |
| 164 | address_low); | 164 | address_low); |
| 165 | } | 165 | } |
| 166 | } const_buffer_config[8]; | 166 | }; |
| 167 | std::array<ConstBufferConfig, NumConstBuffers> const_buffer_config; | ||
| 167 | 168 | ||
| 168 | union { | 169 | union { |
| 169 | BitField<0, 20, u32> local_pos_alloc; | 170 | BitField<0, 20, u32> local_pos_alloc; |