r300: Use the defined values when writing to R300_VAP_INPUT_CNTL_[01].
authorOliver McFadden <z3ro.geek@gmail.com>
Sun, 13 May 2007 06:39:24 +0000 (06:39 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Sun, 13 May 2007 06:39:24 +0000 (06:39 +0000)
commit6f56e68ee305ab60569e449e53442e93d5a938a1
treead84d43f5c2d7f0f329e411dd03e20b316e32fb3
parent65fae193831e9fd4b2fc5a1b8170215cc77427dd
r300: Use the defined values when writing to R300_VAP_INPUT_CNTL_[01].

You can verify this is correct with the following code.

  assert (0x00000001 == R300_INPUT_CNTL_0_COLOR);

  assert (0x00000405 ==
  (R300_INPUT_CNTL_POS | R300_INPUT_CNTL_COLOR |
   R300_INPUT_CNTL_TC0));
src/mesa/drivers/dri/r300/r300_ioctl.c