diff options
author | Kenneth Graunke <[email protected]> | 2011-09-03 12:39:16 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-09-07 10:43:09 -0700 |
commit | 8de3314f636f57145e008697df34560d3badf41c (patch) | |
tree | 01a26ec141d18e23201e1f13145bd91dab2b70ff /src/mesa | |
parent | 6b52e82768b68dd75bfda9637f0154c5425171ed (diff) |
i965: Fix disassembly for intdiv/intmod math functions.
The opcodes and strings were reversed. Quotient means division, and
modulus means remainder.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_disasm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 927b0b4acc9..57821066941 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++ b/src/mesa/drivers/dri/i965/brw_disasm.c @@ -350,8 +350,8 @@ char *math_function[16] = { [BRW_MATH_FUNCTION_TAN] = "tan", [BRW_MATH_FUNCTION_POW] = "pow", [BRW_MATH_FUNCTION_INT_DIV_QUOTIENT_AND_REMAINDER] = "intdivmod", - [BRW_MATH_FUNCTION_INT_DIV_QUOTIENT] = "intmod", - [BRW_MATH_FUNCTION_INT_DIV_REMAINDER] = "intdiv", + [BRW_MATH_FUNCTION_INT_DIV_QUOTIENT] = "intdiv", + [BRW_MATH_FUNCTION_INT_DIV_REMAINDER] = "intmod", }; char *math_saturate[2] = { |