diff options
author | Matt Turner <mattst88@gmail.com> | 2014-05-15 16:56:13 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2014-05-24 23:03:22 -0700 |
commit | 9976294e867785ea480f52178a3d3dc67ac72d32 (patch) | |
tree | c24ea147fb901057dddb440de53700e3244dc0b5 /src/mesa/drivers/dri/i965/brw_gs.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 <eric@anholt.net>
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, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c index ec1e14a3594..18b09560c2c 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.c +++ b/src/mesa/drivers/dri/i965/brw_gs.c @@ -128,7 +128,7 @@ static void compile_ff_gs_prog(struct brw_context *brw, } } - brw_compact_instructions(&c.func); + brw_compact_instructions(&c.func, 0); /* get the program */ |