mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
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:
parent
e9286eb60b
commit
7a6e5a4bc3
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue