vc4: Actually add support for polygon offset.
authorEric Anholt <eric@anholt.net>
Wed, 24 Sep 2014 20:59:53 +0000 (13:59 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 24 Sep 2014 22:56:39 +0000 (15:56 -0700)
commit7fa399f93af288bc0b9764819d4e5b6184e75d78
tree98394c211268435336e2204a91e1610e11eaea99
parent6abbdfe3dbe7d4372b30461e97b4ad557ff4e5d2
vc4: Actually add support for polygon offset.

Setting the bit without setting the offset values is kind of useless.
Fixes piglit polygon-offset (but not polygon-mode-offset).
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_emit.c
src/gallium/drivers/vc4/vc4_state.c