summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_eu.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-05-07 11:53:22 -0700
committerMatt Turner <mattst88@gmail.com>2014-05-15 15:45:40 -0700
commit74b252d270404a729fd41df9e835a368fa8f9044 (patch)
tree91f492f6534933b2f57a1e60b0fa2c4abb9d70f7 /src/mesa/drivers/dri/i965/brw_eu.c
parentcce3bea2a71e5c97eb4d2da6ed1cec45d74e2322 (diff)
downloadexternal_mesa3d-74b252d270404a729fd41df9e835a368fa8f9044.zip
external_mesa3d-74b252d270404a729fd41df9e835a368fa8f9044.tar.gz
external_mesa3d-74b252d270404a729fd41df9e835a368fa8f9044.tar.bz2
i965: Pull brw_compact_instructions() out of brw_get_program().
Acked-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_eu.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu.c b/src/mesa/drivers/dri/i965/brw_eu.c
index 15105c2..d8a3543 100644
--- a/src/mesa/drivers/dri/i965/brw_eu.c
+++ b/src/mesa/drivers/dri/i965/brw_eu.c
@@ -249,8 +249,6 @@ brw_init_compile(struct brw_context *brw, struct brw_compile *p, void *mem_ctx)
const unsigned *brw_get_program( struct brw_compile *p,
unsigned *sz )
{
- brw_compact_instructions(p);
-
*sz = p->next_insn_offset;
return (const unsigned *)p->store;
}