From: Oliver McFadden Date: Wed, 20 Jun 2007 11:45:07 +0000 (+0000) Subject: r300: Removed unused vap_param structure. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27c8488526c5b3b0606cb5a3fbfac7a82246c0bd;p=mesa.git r300: Removed unused vap_param structure. --- diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index 076bb49a006..c150053d873 100644 --- a/src/mesa/drivers/dri/r300/r300_context.h +++ b/src/mesa/drivers/dri/r300/r300_context.h @@ -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; }; diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index dea0482123f..c37964957a4 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -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 */