diff options
author | Marek Olšák <[email protected]> | 2017-07-06 02:23:46 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-07-10 22:44:48 +0200 |
commit | aaee0d1bbf60de17c95c0e2bc5a905753e8deef6 (patch) | |
tree | 1ffe52b24e216bdd8211bfad677804176dc5bbf4 /src/gallium/winsys | |
parent | 833108ac14ade91f54cc6e1e157ecc19b62da404 (diff) |
gallium: use "ull" number suffix to keep the QtCreator parser happy
It can't parse "llu".
Reviewed-by: Thomas Helland <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_cs.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_cs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c index a1fb0458e8b..d2662538865 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c @@ -536,7 +536,7 @@ static unsigned amdgpu_cs_add_buffer(struct radeon_winsys_cs *rcs, buffer = &cs->sparse_buffers[index]; } - buffer->u.real.priority_usage |= 1llu << priority; + buffer->u.real.priority_usage |= 1ull << priority; buffer->usage |= usage; cs->last_added_bo = bo; diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_cs.c b/src/gallium/winsys/radeon/drm/radeon_drm_cs.c index 52460535c1b..1e7060e946a 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_cs.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_cs.c @@ -367,7 +367,7 @@ static unsigned radeon_drm_cs_add_buffer(struct radeon_winsys_cs *rcs, reloc->read_domains |= rd; reloc->write_domain |= wd; reloc->flags = MAX2(reloc->flags, priority); - cs->csc->relocs_bo[index].u.real.priority_usage |= 1llu << priority; + cs->csc->relocs_bo[index].u.real.priority_usage |= 1ull << priority; if (added_domains & RADEON_DOMAIN_VRAM) cs->base.used_vram += bo->base.size; |