summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_link.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-07-10 14:03:48 -0600
committerBrian Paul <[email protected]>2017-07-11 08:09:14 -0600
commit1b5e88becde0122ebe58f8ae3a8669d4842b2623 (patch)
tree5aa288a550e4ebececcedf60c5057f039fac6cc3 /src/gallium/drivers/svga/svga_link.c
parent7250cbafb90271579a1d07160498e902996cbc97 (diff)
svga: s/unsigned/enum tgsi_semantic/
Makes gdb debugging a little nicer. Reviewed-by: Charmaine Lee <[email protected]> Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_link.c')
-rw-r--r--src/gallium/drivers/svga/svga_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_link.c b/src/gallium/drivers/svga/svga_link.c
index 5bc7f6164d6..9c1df0c7f3c 100644
--- a/src/gallium/drivers/svga/svga_link.c
+++ b/src/gallium/drivers/svga/svga_link.c
@@ -62,7 +62,7 @@ svga_link_shaders(const struct tgsi_shader_info *outshader_info,
free_slot = outshader_info->num_outputs + 1;
for (i = 0; i < inshader_info->num_inputs; i++) {
- unsigned sem_name = inshader_info->input_semantic_name[i];
+ enum tgsi_semantic sem_name = inshader_info->input_semantic_name[i];
unsigned sem_index = inshader_info->input_semantic_index[i];
unsigned j;
/**