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:
James Park 2020-11-26 22:07:32 -08:00 committed by Marge Bot
parent a2c981f8d0
commit 8bc2a419fc
1 changed files with 2 additions and 2 deletions

View File

@ -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 {