r600g: Fix special negative immediate constants when using ABS modifier.
[mesa.git] / src / gallium / drivers / r600 / r600_asm.h
index 7cf3a0909088f76099299d4495152e6e6fe9ae52..d48ad1ebf01b11d9db09eda3d221d33506f82008 100644 (file)
@@ -255,7 +255,7 @@ int r600_bytecode_add_cfinst(struct r600_bytecode *bc,
 int r600_bytecode_add_alu_type(struct r600_bytecode *bc,
                const struct r600_bytecode_alu *alu, unsigned type);
 void r600_bytecode_special_constants(uint32_t value,
-               unsigned *sel, unsigned *neg);
+               unsigned *sel, unsigned *neg, unsigned abs);
 void r600_bytecode_disasm(struct r600_bytecode *bc);
 void r600_bytecode_alu_read(struct r600_bytecode *bc,
                struct r600_bytecode_alu *alu, uint32_t word0, uint32_t word1);