nvc0: remove vport_int hack and instead use the usual state validation
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 15 Jun 2014 21:05:35 +0000 (17:05 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 19 Jun 2014 05:05:52 +0000 (01:05 -0400)
commit7e7097a4f41caf311c98caae0ff7ebb1c5bc77ca
treebf77d1e1ae7f33cf8d4fd9403ce996acbca3f8ef
parent8658fe3e4ccbea31cee11f12bb6eb5cfb93eb524
nvc0: remove vport_int hack and instead use the usual state validation

Commit ad4dc772 fixed an issue with the viewport not being restored
correctly. However it's rather hackish and confusing. Instead just mark
the viewport dirty and let the viewport validation take care of it.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_context.h
src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
src/gallium/drivers/nouveau/nvc0/nvc0_surface.c