engines: Remove unnecessary casts
In a few cases we have some casts that can be trivially removed.
This commit is contained in:
parent
6291eec700
commit
d7ec031419
10 changed files with 57 additions and 85 deletions
|
@ -39,7 +39,7 @@ struct Registers {
|
|||
u32 y;
|
||||
|
||||
GPUVAddr Address() const {
|
||||
return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high) << 32) | address_low);
|
||||
return (GPUVAddr{address_high} << 32) | GPUVAddr{address_low};
|
||||
}
|
||||
|
||||
u32 BlockWidth() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue