diff options
author | Zhenyu Wang <[email protected]> | 2010-10-14 10:54:53 +0800 |
---|---|---|
committer | Zhenyu Wang <[email protected]> | 2010-10-14 11:24:42 +0800 |
commit | e8e79c1d7eed0f5ae8820611cb86bdbd6ce595e6 (patch) | |
tree | a3483b9f1ee6f525ee55fad1a1374fa0099afd4b /src/mesa/drivers/dri/i965/brw_gs.c | |
parent | a57ef244fc55476660f9fb76982130c5c0b25163 (diff) |
i965: Fix GS hang on Sandybridge
Don't use r0 for FF_SYNC dest reg on Sandybridge, which would
smash FFID field in GS payload, that cause later URB write fail.
Also not use r0 in any URB write requiring allocate.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_gs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c index ad178d84b65..cfcc8ea4d6a 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.c +++ b/src/mesa/drivers/dri/i965/brw_gs.c @@ -96,8 +96,6 @@ static void compile_gs_prog( struct brw_context *brw, brw_gs_quad_strip( &c, key ); break; case GL_LINE_LOOP: - /* XXX fix GS hang issue */ - assert(intel->gen < 6); brw_gs_lines( &c ); break; case GL_LINES: |