mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 12:40:09 +01:00
aco: Initialize union within Operand for MSVC
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7785>
This commit is contained in:
parent
a2c981f8d0
commit
8bc2a419fc
1 changed files with 2 additions and 2 deletions
|
|
@ -770,10 +770,10 @@ public:
|
|||
|
||||
private:
|
||||
union {
|
||||
Temp temp;
|
||||
uint32_t i;
|
||||
float f;
|
||||
Temp temp = Temp(0, s1);
|
||||
} data_;
|
||||
} data_ = { Temp(0, s1) };
|
||||
PhysReg reg_;
|
||||
union {
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue