i830: Fix culling with user fbos on gen2
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 23 Mar 2015 12:47:35 +0000 (14:47 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 6 Oct 2015 18:16:19 +0000 (11:16 -0700)
commit021f15816e74ec012b8cb904d9f0bc05ff5885b0
treeddd35a6a55330d07272ee327d9864fdc0e7f5f20
parent3e2c7ca7731362b9f8f872832aeed2f89e70e11c
i830: Fix culling with user fbos on gen2

Flip the cull bits when rendering to a user fbo on gen2. This
was already done on gen3 (since before git history starts)
but was missing from the gen2 code.

Fixes rendering of the driver+kart model in supertuxkart kart
selection screen.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i915/i830_state.c