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
|
@ -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…
Reference in New Issue