Commit 7a6e5a4b authored by Tapani Pälli's avatar Tapani Pälli

intel/compiler: silence a warning of using different enum type

Signed-off-by: Tapani Pälli's avatarTapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
parent e9286eb6
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment