i965/sf: Drop unnecessary push/pop in copy_z_inv_w.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 25 May 2014 08:08:55 +0000 (01:08 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 27 May 2014 20:46:02 +0000 (13:46 -0700)
brw_MOV doesn't alter the default instruction state, so this does
nothing.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_sf_emit.c

index 501453681ffa3e0a458835e019f6da5197196f77..50aa5c38387853ff080bc2a88ec9192940db977a 100644 (file)
@@ -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);
 }