projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53786d2
)
microsoft/compiler: Fix MSVC warning C4334 (32bit shift cast to 64bit)
author
Jesse Natalie
<jenatali@microsoft.com>
Mon, 19 Apr 2021 17:08:52 +0000
(10:08 -0700)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 20 Apr 2021 00:28:35 +0000
(
00:28
+0000)
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>
src/microsoft/compiler/nir_to_dxil.c
patch
|
blob
|
history
diff --git
a/src/microsoft/compiler/nir_to_dxil.c
b/src/microsoft/compiler/nir_to_dxil.c
index
348fbe6
..
efe81c1
100644
(file)
--- a/
src/microsoft/compiler/nir_to_dxil.c
+++ b/
src/microsoft/compiler/nir_to_dxil.c
@@
-4687,7
+4687,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 (!((1
ull
<< var->data.location) & other_stage_mask))
return DXIL_SYSVALUE;
FALLTHROUGH;
default: