mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02: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:
|
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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue