mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
microsoft/compiler: Fix MSVC warning C4334 (32bit shift cast to 64bit)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-By: Bill Kristiansen <billkris@microsoft.com>
Cc: mesa-stable@lists.freedesktop.org
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10331>
(cherry picked from commit 67b5fba62a)
This commit is contained in:
parent
871201b3fc
commit
ee544f8642
2 changed files with 2 additions and 2 deletions
|
|
@ -409,7 +409,7 @@
|
|||
"description": "microsoft/compiler: Fix MSVC warning C4334 (32bit shift cast to 64bit)",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4379,7 +4379,7 @@ nir_var_to_dxil_sysvalue_type(nir_variable *var, uint64_t other_stage_mask)
|
|||
case VARYING_SLOT_CLIP_DIST0:
|
||||
case VARYING_SLOT_CLIP_DIST1:
|
||||
case VARYING_SLOT_PSIZ:
|
||||
if (!((1 << var->data.location) & other_stage_mask))
|
||||
if (!((1ull << var->data.location) & other_stage_mask))
|
||||
return DXIL_SYSVALUE;
|
||||
FALLTHROUGH;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue