r300: Use the defined values when writing to R300_SE_VTE_CNTL.
authorOliver McFadden <z3ro.geek@gmail.com>
Sun, 13 May 2007 12:43:40 +0000 (12:43 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Sun, 13 May 2007 12:43:40 +0000 (12:43 +0000)
commit2189ff5e510689f74063b77a03881802ecd482c7
tree6aa1157218308a612d2e9cafabe756cfc4a4edc6
parent33a73466ae1df4350cc26470056090c91a6edfe9
r300: Use the defined values when writing to R300_SE_VTE_CNTL.

You can verify this is correct with the following code.

  assert (0x043f ==
  (R300_VTX_W0_FMT | R300_VPORT_X_SCALE_ENA | R300_VPORT_X_OFFSET_ENA
   | R300_VPORT_Y_SCALE_ENA | R300_VPORT_Y_OFFSET_ENA |
   R300_VPORT_Z_SCALE_ENA | R300_VPORT_Z_OFFSET_ENA));
src/mesa/drivers/dri/r300/r300_ioctl.c