OSDN Git Service

i915: Fix culling with user fbos on gen2
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Nov 2014 09:08:13 +0000 (11:08 +0200)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 16 Jul 2015 13:48:41 +0000 (21:48 +0800)
commit1cd32687c231fec941c8500c4457966606cb0ed3
tree2c4d385f4629a35f6c790265c61b90eb1d40c01e
parent12e50d648fe81e9a9e4af2379f44914ff0eff447
i915: 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>
src/mesa/drivers/dri/i915/i830_state.c