intel/compiler: silence a warning of using different enum type
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user