aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2019-05-04 10:04:07 -0600
committerBrian Paul <[email protected]>2019-05-08 10:05:42 -0600
commit4f54e550e91141cf8ad7fcad87150b50d47fc223 (patch)
tree12c3553ca4176d39a84c47ed2e9401456ae74767 /src/gallium
parentcf5c7beb63777dac95c74a4b45daf8459f4a1ae2 (diff)
gallium/pp: s/uint/enum tgsi_semantic/ to fix MSVC warning
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/postprocess/pp_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/postprocess/pp_program.c b/src/gallium/auxiliary/postprocess/pp_program.c
index 52786de297b..4cd3990d6ca 100644
--- a/src/gallium/auxiliary/postprocess/pp_program.c
+++ b/src/gallium/auxiliary/postprocess/pp_program.c
@@ -126,7 +126,7 @@ pp_init_prog(struct pp_queue_t *ppq, struct pipe_context *pipe,
{
- const uint semantic_names[] = { TGSI_SEMANTIC_POSITION,
+ const enum tgsi_semantic semantic_names[] = { TGSI_SEMANTIC_POSITION,
TGSI_SEMANTIC_GENERIC
};
const uint semantic_indexes[] = { 0, 0 };