mesa/src
Jonathan Gray ebfb9e1817 aco: use UINT64_C on 64 bit constant arguments
avoids errors seen when building on OpenBSD/amd64

../src/amd/compiler/aco_instruction_selection.cpp:1677:62: error: ambiguous conversion for functional-style cast from 'unsigned long' to 'aco::Operand'
            bld.vop3(aco_opcode::v_mul_f64, Definition(dst), Operand(0x3FF0000000000000lu), tmp);
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
glibc uses unsigned long for uint64_t on LP64 archs and unsigned long long for
uint64_t on ILP32 archs.  On OpenBSD unsigned long long is used for uint64_t
on all archs.

The Operand constructors are uint8_t uint16_t uint32_t uint64_t
use UINT64_C so lu or llu suffix will be used as needed.

Fixes: df645fa369 ("aco: implement VK_KHR_shader_float_controls")
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Tony Wasserka <tony.wasserka@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7944>
2020-12-08 11:11:28 +00:00
..
amd aco: use UINT64_C on 64 bit constant arguments 2020-12-08 11:11:28 +00:00
android_stub mesa: Make the android_stub be a set of non-installed shared libraries. 2020-09-22 17:09:22 +00:00
broadcom v3dv: fix early return from failed drmGetMagic 2020-12-02 17:00:28 +00:00
compiler mesa: optimize _mesa_program_resource_location 2020-12-08 10:10:47 +01:00
drm-shim drm-shim: Fix unused variable warnings from asserts in release build. 2020-08-28 22:45:08 +00:00
egl meson: Make the glvnd vendor name configurable 2020-12-03 22:36:27 +00:00
etnaviv etnaviv/drm: add some locking asserts 2020-12-01 12:20:45 +00:00
freedreno android: freedreno/ir3: use python3 in gen rules 2020-12-07 13:10:32 +00:00
gallium driconf: add allow_incorrect_primitive_id option 2020-12-08 10:17:32 +01:00
gbm egl: implement EGL_EXT_protected_surface support 2020-11-02 10:15:47 +01:00
getopt
glx meson: Make the glvnd vendor name configurable 2020-12-03 22:36:27 +00:00
gtest gtest: Update to 1.10.0 2020-04-20 11:57:11 +00:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui
intel isl: Fix android build 2020-12-05 11:42:15 +00:00
loader loader: Print dlerror() output in the failure message 2020-11-04 21:45:37 +00:00
mapi glapi: fix unused-function warning 2020-12-01 16:51:01 +00:00
mesa mesa/st: lower 64 bit ops to scalar before lowering to soft-float 2020-12-08 10:52:34 +00:00
microsoft microsoft/clc: increase test-timeout 2020-12-02 14:19:19 +00:00
panfrost panfrost: Fix draw descriptor definition 2020-12-05 13:33:58 +01:00
util driconf: add allow_incorrect_primitive_id option 2020-12-08 10:17:32 +01:00
virtio virgl: update protocol headers 2020-08-21 18:38:44 +00:00
vulkan vulkan: Update to 1.2.164. 2020-12-07 15:25:17 +00:00
meson.build util: Add helgrind support for simple_mtx 2020-11-24 21:03:34 +00:00
SConscript driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00