summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2019-05-12 07:32:03 +0200
committerKarol Herbst <[email protected]>2019-05-13 23:40:40 +0200
commit358e52383cda8bc71156298a03cb7d980b2e3097 (patch)
tree3ba11326913e61d45f0b0cc13c3b3731259098b3 /src
parent1619f208834544e57349b29bb1f3f1ec98ca0cbc (diff)
nv50/ir/nir: prefer to shift 1ull instead of 1ll
Signed-off-by: Karol Herbst <[email protected]> Suggested-by: Ilia Mirkin <[email protected]> Reviewed-by: Pierre Moreau <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
index 02ae5d73b99..eb2f202993a 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
@@ -1330,7 +1330,7 @@ bool Converter::assignSlots() {
else
info->out[vary].mask |= ((1 << comp) - 1) << frac;
- if (nir->info.outputs_read & 1ll << slot)
+ if (nir->info.outputs_read & 1ull << slot)
info->out[vary].oread = 1;
}
info->numOutputs = std::max<uint8_t>(info->numOutputs, vary);
@@ -1338,7 +1338,7 @@ bool Converter::assignSlots() {
info->numSysVals = 0;
for (uint8_t i = 0; i < 64; ++i) {
- if (!(nir->info.system_values_read & 1ll << i))
+ if (!(nir->info.system_values_read & 1ull << i))
continue;
system_val_to_tgsi_semantic(i, &name, &index);