aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-06-24 14:36:28 +0300
committerTapani Pälli <[email protected]>2019-06-25 10:09:22 +0300
commit7a6e5a4bc34b24b5dce13ddff6d5730bb14cf1fa (patch)
tree20599cca3c5d073601504e4136fb9edeee14ebf0 /src
parente9286eb60b13d86ad59e1067fafea832347e5d1e (diff)
intel/compiler: silence a warning of using different enum type
Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/compiler/brw_vue_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_vue_map.c b/src/intel/compiler/brw_vue_map.c
index 76ca4004230..02ca51b1404 100644
--- a/src/intel/compiler/brw_vue_map.c
+++ b/src/intel/compiler/brw_vue_map.c
@@ -266,7 +266,7 @@ varying_name(brw_varying_slot slot)
assume(slot < BRW_VARYING_SLOT_COUNT);
if (slot < VARYING_SLOT_MAX)
- return gl_varying_slot_name(slot);
+ return gl_varying_slot_name((gl_varying_slot)slot);
static const char *brw_names[] = {
[BRW_VARYING_SLOT_NDC - VARYING_SLOT_MAX] = "BRW_VARYING_SLOT_NDC",