[Mesa-dev] [PATCH 0/2] Misc i965 fixes / clean-ups

Ian Romanick idr at freedesktop.org
Mon Apr 11 10:30:41 PDT 2011


The first patch "fixes" an issue that Ken and I discovered last week
with the ROUND_DOWN_TO macro in the i965 driver.  The best fix is
probably to pull this macro up into higher-level Mesa code.  I'd like
some review that changing this macro won't break existing code.

The second patch follows from Ken's URB allocation code.  The
assumption in Ken's code is that the GS is not used *ever* on SNB.
This patch guts a bunch of code that could, under "impossible"
circumstances, cause the GS to be used.

 src/mesa/drivers/dri/i965/brw_gs.c         |   52 ++++++---------------------
 src/mesa/drivers/dri/i965/brw_gs.h         |    5 +--
 src/mesa/drivers/dri/i965/brw_gs_emit.c    |   32 -----------------
 src/mesa/drivers/dri/intel/intel_context.h |    5 +--
 4 files changed, 15 insertions(+), 79 deletions(-)



More information about the mesa-dev mailing list