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:
@@ -770,10 +770,10 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
union {
|
union {
|
||||||
|
Temp temp;
|
||||||
uint32_t i;
|
uint32_t i;
|
||||||
float f;
|
float f;
|
||||||
Temp temp = Temp(0, s1);
|
} data_ = { Temp(0, s1) };
|
||||||
} data_;
|
|
||||||
PhysReg reg_;
|
PhysReg reg_;
|
||||||
union {
|
union {
|
||||||
struct {
|
struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user