util: tune signatures of generated enum operators

This allows use of these operators in a constexpr context and silences
a clang -Wunused-function warning.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <!10784>
113 jobs for !10784 with refactor_enum_ops in 23 minutes and 16 seconds (queued for 7 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #9760638
sanity

00:00:07

 
  Container
passed #9760643
aarch64
arm_build

00:00:25

passed #9760645
windows shell 1809 mesa
windows_build_vs2019

00:00:11

passed #9760640
x86_build-base

00:00:26

passed #9760641
x86_test-base

00:00:26

 
  Container 2
passed #9760654
android_build

00:00:25

passed #9760649
i386_build

00:00:33

passed #9760659
kernel+rootfs_amd64

00:00:10

passed #9760661
aarch64
kernel+rootfs_arm64

00:00:12

passed #9760663
aarch64
kernel+rootfs_armhf

00:00:12

passed #9760651
ppc64el_build

00:00:29

passed #9760653
s390x_build

00:00:31

passed #9760647
x86_build

00:00:29

passed #9760656
x86_test-gl

00:00:29

passed #9760658
x86_test-vk

00:00:32

 
  Meson X86 64
passed #9760674
meson-clang

00:04:19

passed #9760676
meson-clover

00:02:29

passed #9760669
meson-clover-testing

00:01:22

passed #9760671
meson-gallium

00:05:58

passed #9760672
meson-release

00:04:25

passed #9760665
meson-testing

00:01:26

passed #9760667
meson-testing-asan

00:02:26

passed #9760678
meson-vulkan

00:02:14

 
  Build Misc
passed #9760679
arm_test

00:00:36

passed #9760681
meson-android

00:01:04

passed #9760685
aarch64
meson-arm64

00:01:43

passed #9760687
aarch64
meson-arm64-asan

00:03:54

passed #9760689
aarch64
meson-arm64-build-test

00:02:01

passed #9760683
aarch64
meson-armhf

00:01:53

passed #9760693
meson-i386

00:02:02

passed #9760699
meson-mingw32-x86_64

00:02:24

passed #9760697
meson-ppc64el

00:02:33

passed #9760695
kvm
meson-s390x

00:03:55

passed #9760691
windows docker 1809 mesa
meson-windows-vs2019

00:05:42

 
  Amd
passed #9760701
radv-fossils

00:09:04

 
  Broadcom
passed #9760722
igalia-rpi4
v3d-rpi4-gles2:armhf

00:07:16

passed #9760710
igalia-rpi4
v3d-rpi4-gles31:armhf 1/2

00:09:53

passed #9760712
igalia-rpi4
v3d-rpi4-gles31:armhf 2/2

00:10:09

passed #9760714
igalia-rpi4
v3d-rpi4-gles3:armhf 1/4

00:09:40

passed #9760716
igalia-rpi4
v3d-rpi4-gles3:armhf 2/4

00:10:07

passed #9760718
igalia-rpi4
v3d-rpi4-gles3:armhf 3/4

00:08:27

passed #9760720
igalia-rpi4
v3d-rpi4-gles3:armhf 4/4

00:08:45

passed #9760724
igalia-rpi4
v3dv-rpi4-vk:armhf 1/6

00:07:42

passed #9760726
igalia-rpi4
v3dv-rpi4-vk:armhf 2/6

00:07:42

passed #9760728
igalia-rpi4
v3dv-rpi4-vk:armhf 3/6

00:07:39

passed #9760730
igalia-rpi4
v3dv-rpi4-vk:armhf 4/6

00:07:31

passed #9760732
igalia-rpi4
v3dv-rpi4-vk:armhf 5/6

00:19:29

passed #9760734
igalia-rpi4
v3dv-rpi4-vk:armhf 6/6

00:08:05

passed #9760703
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4

00:04:24

passed #9760705
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4

00:04:09

passed #9760707
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4

00:04:25

passed #9760709
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4

00:04:16

 
  Freedreno
passed #9760736
google-freedreno-db410c
a306_gles2

00:05:55

passed #9760738
google-freedreno-db410c
a306_gles3 1/3

00:10:19

passed #9760740
google-freedreno-db410c
a306_gles3 2/3

00:10:04

passed #9760742
google-freedreno-db410c
a306_gles3 3/3

00:10:08

passed #9760744
google-freedreno-db410c
a306_gles3_options

00:04:57

passed #9760747
google-freedreno-db410c
a306-traces

00:08:55

passed #9760749
google-freedreno-db820c
a530_gles2

00:07:37

passed #9760756
google-freedreno-db820c
a530_gles31 1/2

00:06:51

passed #9760752
google-freedreno-db820c
a530_gles3 1/2

00:11:21

passed #9760759
google-freedreno-db820c
a530_gles31 2/2

00:07:38

passed #9760754
google-freedreno-db820c
a530_gles3 2/2

00:08:14

passed #9760761
google-freedreno-db820c
a530_piglit_gl

00:11:48

passed #9760764
google-freedreno-db820c
a530_piglit_shader

00:09:59

passed #9760766
google-freedreno-db820c
a530-traces

00:13:58

passed #9760779
google-freedreno-cheza
a630_egl

00:02:22

passed #9760776
google-freedreno-cheza
a630_gl

00:01:27

passed #9760769
google-freedreno-cheza
a630_gles2

00:01:36

passed #9760774
google-freedreno-cheza
a630_gles3

00:04:45

passed #9760771
google-freedreno-cheza
a630_gles31

00:04:01

passed #9760781
google-freedreno-cheza
a630_gles_others

00:02:49

passed #9760791
google-freedreno-cheza
a630_piglit

00:09:33

passed #9760794
google-freedreno-cheza
a630-traces

00:06:50

passed #9760783
google-freedreno-cheza
a630_vk 1/2

00:10:33

passed #9760786
google-freedreno-cheza
a630_vk 2/2

00:10:25

passed #9760789
google-freedreno-cheza
a630_vk_sysmem

00:02:06

 
  Software Renderer
passed #9760826
lavapipe-nir-stress

00:02:13

passed #9760825
lavapipe-vk

00:06:04

passed #9760814
llvmpipe-egl

00:01:19

passed #9760812
llvmpipe-gl

00:01:16

passed #9760806
llvmpipe-gles2

00:02:40

passed #9760808
llvmpipe-gles3

00:05:00

passed #9760810
llvmpipe-gles31

00:08:38

passed #9760813
llvmpipe-khr-gles2

00:00:37

passed #9760796
llvmpipe-piglit-cl

00:03:11

passed #9760800
llvmpipe-piglit-glslparser

00:04:46

passed #9760798
llvmpipe-piglit-quick_gl

00:07:11

passed #9760802
llvmpipe-piglit-quick_shader

00:06:54

passed #9760804
llvmpipe-traces

00:02:17

passed #9760822
softpipe-asan-gles31

00:02:40

passed #9760824
softpipe-gl

00:00:43

passed #9760815
softpipe-gles2

00:00:54

passed #9760816
softpipe-gles3

00:06:12

passed #9760817
softpipe-gles31 1/2

00:02:47

passed #9760818
softpipe-gles31 2/2

00:05:48

passed #9760819
softpipe-khr-gles2

00:00:43

passed #9760820
softpipe-khr-gles3

00:00:41

passed #9760821
softpipe-khr-gles31

00:00:34

passed #9760823
softpipe-piglit-quick

00:04:18

 
  Layered Backends
passed #9760839
windows docker 1809 mesa
test-d3d12-windows

00:03:10

passed #9760831
virgl-gl30-on-gl

00:00:28

passed #9760832
virgl-gl31-on-gl

00:00:51

passed #9760833
virgl-gl32-on-gl

00:01:27

passed #9760827
virgl-gles2-on-gl

00:01:49

passed #9760829
virgl-gles31-on-gl 1/2

00:05:11

passed #9760830
virgl-gles31-on-gl 2/2

00:02:51

passed #9760828
virgl-gles3-on-gl

00:02:15

passed #9760834
virgl-traces

00:00:53

passed #9760838
zink-lvp-gl

00:01:09

passed #9760836
zink-lvp-gles2

00:01:43

passed #9760837
zink-lvp-gles3

00:02:31

passed #9760835
zink-piglit-quick_gl

00:03:35