[GPU] Make RegisterFile::kRegisterCount constexpr
This commit is contained in:
parent
72cf75f365
commit
2473496c7e
|
@ -33,7 +33,7 @@ class RegisterFile {
|
|||
|
||||
static const RegisterInfo* GetRegisterInfo(uint32_t index);
|
||||
|
||||
static const size_t kRegisterCount = 0x5003;
|
||||
static constexpr size_t kRegisterCount = 0x5003;
|
||||
union RegisterValue {
|
||||
uint32_t u32;
|
||||
float f32;
|
||||
|
|
Loading…
Reference in New Issue