OSDN Git Service

i915: Fix collision between I830_UPLOAD_RASTER_RULES and I830_UPLOAD_TEX(0)
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Sat, 28 Jun 2014 18:54:42 +0000 (21:54 +0300)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 16 Jul 2015 13:48:41 +0000 (21:48 +0800)
commit056cbfc7fac084d73f6a6cb7f43b1e0c1316febe
treec58e2733ccfff8ef10314eaa7aff97714a56b576
parentcefb3c082f4c0d14ee220606402728c74d2bd432
i915: Fix collision between I830_UPLOAD_RASTER_RULES and I830_UPLOAD_TEX(0)

I830_UPLOAD_RASTER_RULES and I830_UPLOAD_TEX(0) are trying to occupy
the same bit. Move the texture bits upwards a bit to make room for
I830_UPLOAD_RASTER_RULES.

Now the driver will actually upload the raster rules which is rather
important to get the provoking vertex right. Fixes the appearance
of glxgears teeth on gen2.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
src/mesa/drivers/dri/i915/i830_context.h