vc4: Actually add support for polygon offset

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 24 September 2014 17:56 UTC

Setting the bit without setting the offset values is kind of useless. Fixes piglit polygon-offset (but not polygon-mode-offset).

7fa399f vc4: Actually add support for polygon offset.
src/gallium/drivers/vc4/vc4_context.h | 11 +++++++++++
src/gallium/drivers/vc4/vc4_emit.c | 6 ++++++
src/gallium/drivers/vc4/vc4_state.c | 12 +++++++++++-
3 files changed, 28 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share