summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu.c b/src/mesa/drivers/dri/i965/brw_eu.c
index 130d801edc9..c60b16c3871 100644
--- a/src/mesa/drivers/dri/i965/brw_eu.c
+++ b/src/mesa/drivers/dri/i965/brw_eu.c
@@ -214,16 +214,8 @@ brw_init_compile(struct brw_context *brw, struct brw_compile *p, void *mem_ctx)
const GLuint *brw_get_program( struct brw_compile *p,
GLuint *sz )
{
- GLuint i;
-
brw_compact_instructions(p);
- /* We emit a cacheline (8 instructions) of NOPs at the end of the program to
- * make sure that instruction prefetch doesn't wander off into some other BO.
- */
- for (i = 0; i < 8; i++)
- brw_NOP(p);
-
*sz = p->next_insn_offset;
return (const GLuint *)p->store;
}