From d947e3e2c8c23dd9622c6af20d2fb887a43475f5 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 30 Apr 2017 14:33:03 +0200 Subject: st/mesa: decrease the size of st_vertex_program Tested-by: Edmondo Tommasina Reviewed-by: Brian Paul --- src/mesa/state_tracker/st_cb_rasterpos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/state_tracker/st_cb_rasterpos.c') diff --git a/src/mesa/state_tracker/st_cb_rasterpos.c b/src/mesa/state_tracker/st_cb_rasterpos.c index 85184540553..c55b62437a3 100644 --- a/src/mesa/state_tracker/st_cb_rasterpos.c +++ b/src/mesa/state_tracker/st_cb_rasterpos.c @@ -109,7 +109,7 @@ rastpos_destroy(struct draw_stage *stage) * else copy the current attrib. */ static void -update_attrib(struct gl_context *ctx, const GLuint *outputMapping, +update_attrib(struct gl_context *ctx, const ubyte *outputMapping, const struct vertex_header *vert, GLfloat *dest, GLuint result, GLuint defaultAttrib) @@ -134,7 +134,7 @@ rastpos_point(struct draw_stage *stage, struct prim_header *prim) struct gl_context *ctx = rs->ctx; struct st_context *st = st_context(ctx); const GLfloat height = (GLfloat) ctx->DrawBuffer->Height; - const GLuint *outputMapping = st->vertex_result_to_slot; + const ubyte *outputMapping = st->vertex_result_to_slot; const GLfloat *pos; GLuint i; -- cgit v1.2.3