summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-05-25 01:08:55 -0700
committerKenneth Graunke <[email protected]>2014-05-27 13:46:02 -0700
commit471bff4c626d6a378e56e21e0c7e5e54ac523b23 (patch)
treeb73befb3ab0e2aff158c00d572fc6d5b80f5d50a /src
parent0f9eeae878ce11035d027722eddf28654b6cfeb7 (diff)
i965/sf: Drop unnecessary push/pop in copy_z_inv_w.
brw_MOV doesn't alter the default instruction state, so this does nothing. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_sf_emit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf_emit.c b/src/mesa/drivers/dri/i965/brw_sf_emit.c
index 501453681ff..50aa5c38387 100644
--- a/src/mesa/drivers/dri/i965/brw_sf_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_sf_emit.c
@@ -312,14 +312,10 @@ static void copy_z_inv_w( struct brw_sf_compile *c )
struct brw_compile *p = &c->func;
GLuint i;
- brw_push_insn_state(p);
-
/* Copy both scalars with a single MOV:
*/
for (i = 0; i < c->nr_verts; i++)
brw_MOV(p, vec2(suboffset(c->vert[i], 2)), vec2(c->z[i]));
-
- brw_pop_insn_state(p);
}