Browse Source

kepler_compute: Use std::array for cbuf info

nce_cpp
ReinUsesLisp 7 years ago
parent
commit
51d624bf2c
  1. 5
      src/video_core/engines/kepler_compute.h

5
src/video_core/engines/kepler_compute.h

@ -153,7 +153,7 @@ public:
INSERT_PADDING_WORDS(0x8);
struct {
struct ConstBufferConfig {
u32 address_low;
union {
BitField<0, 8, u32> address_high;
@ -163,7 +163,8 @@ public:
return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high.Value()) << 32) |
address_low);
}
} const_buffer_config[8];
};
std::array<ConstBufferConfig, NumConstBuffers> const_buffer_config;
union {
BitField<0, 20, u32> local_pos_alloc;

Loading…
Cancel
Save