[Mesa-dev] [PATCH 3/3] i965: Remove a few unused fields from struct brw_vs_compile.

Kenneth Graunke kenneth at whitecape.org
Mon Nov 14 17:31:03 PST 2011


We'll be able to kill more of these once the old VS backend is gone.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 src/mesa/drivers/dri/i965/brw_vs.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

I could also kill r0 by changing brw_vs_emit to just use brw_vec8_grf(0,0)
like everybody else, but...meh.  It's going to die soon anyway.

diff --git a/src/mesa/drivers/dri/i965/brw_vs.h b/src/mesa/drivers/dri/i965/brw_vs.h
index 8701116..25c1ee5 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.h
+++ b/src/mesa/drivers/dri/i965/brw_vs.h
@@ -97,9 +97,7 @@ struct brw_vs_compile {
    GLuint last_tmp;
 
    struct brw_reg r0;
-   struct brw_reg r1;
    struct brw_reg regs[PROGRAM_ADDRESS+1][128];
-   struct brw_reg tmp;
    struct brw_reg stack;
 
    struct {	
-- 
1.7.7.2



More information about the mesa-dev mailing list