intel/mi_builder: Re-order an initializer
The order doesn't matter in C99 but some C++ compilers seem to care. Tested-by: Clayton Craft <clayton.a.craft@intel.com>
This commit is contained in:
@@ -519,9 +519,9 @@ static inline uint32_t
|
|||||||
_gen_mi_pack_alu(uint32_t opcode, uint32_t operand1, uint32_t operand2)
|
_gen_mi_pack_alu(uint32_t opcode, uint32_t operand1, uint32_t operand2)
|
||||||
{
|
{
|
||||||
struct GENX(MI_MATH_ALU_INSTRUCTION) instr = {
|
struct GENX(MI_MATH_ALU_INSTRUCTION) instr = {
|
||||||
.ALUOpcode = opcode,
|
|
||||||
.Operand1 = operand1,
|
|
||||||
.Operand2 = operand2,
|
.Operand2 = operand2,
|
||||||
|
.Operand1 = operand1,
|
||||||
|
.ALUOpcode = opcode,
|
||||||
};
|
};
|
||||||
|
|
||||||
uint32_t dw;
|
uint32_t dw;
|
||||||
|
Reference in New Issue
Block a user