OSDN Git Service

i965: Fix assertions about register types for INT DIV in brw_math.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 29 Sep 2011 00:37:51 +0000 (17:37 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Oct 2011 00:01:02 +0000 (17:01 -0700)
commitee2bf3a4b6b37287e6d150d3dd6742b7fa4f8215
tree61fb918d14dcbd2c540534f8d955bc8015802730
parente66fc1cb035caa5375c4ef3578420476ea94d371
i965: Fix assertions about register types for INT DIV in brw_math.

BRW_MATH_FUNCTION_REMAINDER was missing.  Also, it seems worthwhile to
assert that INT DIV's arguments are signed/unsigned integers.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_eu_emit.c