mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 09:12:46 +01:00
kepler_compute: Use std::array for cbuf info
This commit is contained in:
parent
17d5fb6d06
commit
528c15051c
1 changed files with 3 additions and 2 deletions
|
@ -153,7 +153,7 @@ public:
|
||||||
|
|
||||||
INSERT_PADDING_WORDS(0x8);
|
INSERT_PADDING_WORDS(0x8);
|
||||||
|
|
||||||
struct {
|
struct ConstBufferConfig {
|
||||||
u32 address_low;
|
u32 address_low;
|
||||||
union {
|
union {
|
||||||
BitField<0, 8, u32> address_high;
|
BitField<0, 8, u32> address_high;
|
||||||
|
@ -163,7 +163,8 @@ public:
|
||||||
return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high.Value()) << 32) |
|
return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high.Value()) << 32) |
|
||||||
address_low);
|
address_low);
|
||||||
}
|
}
|
||||||
} const_buffer_config[8];
|
};
|
||||||
|
std::array<ConstBufferConfig, NumConstBuffers> const_buffer_config;
|
||||||
|
|
||||||
union {
|
union {
|
||||||
BitField<0, 20, u32> local_pos_alloc;
|
BitField<0, 20, u32> local_pos_alloc;
|
||||||
|
|
Loading…
Reference in a new issue