From: Brian Paul Date: Wed, 7 Feb 2018 23:12:59 +0000 (-0700) Subject: st/mesa: s/unsigned/enum tgsi_semantic/ st_cb_drawpixels.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e55de6e20cb8854be0af8afd50eea12f84ff9d49;p=mesa.git st/mesa: s/unsigned/enum tgsi_semantic/ st_cb_drawpixels.c Reviewed-by: Mathias Fröhlich Reviewed-by: Roland Scheidegger --- diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index 44f5b235c83..ddf69263328 100644 --- a/src/mesa/state_tracker/st_cb_drawpixels.c +++ b/src/mesa/state_tracker/st_cb_drawpixels.c @@ -196,7 +196,7 @@ static void * make_passthrough_vertex_shader(struct st_context *st, GLboolean passColor) { - const unsigned texcoord_semantic = st->needs_texcoord_semantic ? + const enum tgsi_semantic texcoord_semantic = st->needs_texcoord_semantic ? TGSI_SEMANTIC_TEXCOORD : TGSI_SEMANTIC_GENERIC; if (!st->drawpix.vert_shaders[passColor]) {