r300: Removed unused vap_param structure.
authorOliver McFadden <z3ro.geek@gmail.com>
Wed, 20 Jun 2007 11:45:07 +0000 (11:45 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Sun, 24 Jun 2007 14:01:19 +0000 (14:01 +0000)
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_state.c

index 076bb49a006e194dda3e4eb15c2bd3171ff2eaee..c150053d873654b38f0926d2eda20479339b5e88 100644 (file)
@@ -799,10 +799,6 @@ struct r300_state {
         DECLARE_RENDERINPUTS(render_inputs_bitset);    /* actual render inputs that R300 was configured for.
                                                           They are the same as tnl->render_inputs for fixed pipeline */
 
-       struct {
-               int transform_offset;   /* Transform matrix offset, -1 if none */
-       } vap_param;            /* vertex processor parameter allocation - tells where to write parameters */
-
        struct r300_stencilbuffer_state stencil;
 
 };
index dea0482123f6977268411ad12dc721c591451d04..c37964957a42b7bd4aafd4f4b6db063c38897581 100644 (file)
@@ -1527,7 +1527,6 @@ static void r300GenerateSimpleVertexShader(r300ContextPtr r300)
        GLuint o_reg = 0;
 
        /* Allocate parameters */
-       r300->state.vap_param.transform_offset = 0x0;   /* transform matrix */
        r300->state.vertex_shader.param_offset = 0x0;
        r300->state.vertex_shader.param_count = 0x4;    /* 4 vector values - 4x4 matrix */