diff options
author | Matt Turner <[email protected]> | 2014-05-15 16:56:13 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-05-24 23:03:22 -0700 |
commit | 9976294e867785ea480f52178a3d3dc67ac72d32 (patch) | |
tree | c24ea147fb901057dddb440de53700e3244dc0b5 /src/mesa/drivers/dri/i965/brw_clip.c | |
parent | 2afdd2f40b64e34387b89430bf47ab863d6a8e43 (diff) |
i965: Pass in start_offset to brw_compact_instructions().
Let's us avoid recompacting the SIMD8 instructions when we compact the
SIMD16 program.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clip.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_clip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip.c b/src/mesa/drivers/dri/i965/brw_clip.c index 11f0b6938f5..57c49f0235d 100644 --- a/src/mesa/drivers/dri/i965/brw_clip.c +++ b/src/mesa/drivers/dri/i965/brw_clip.c @@ -110,7 +110,7 @@ static void compile_clip_prog( struct brw_context *brw, return; } - brw_compact_instructions(&c.func); + brw_compact_instructions(&c.func, 0); /* get the program */ |