aco: Declare num_reduce_ops for array size
authorJames Park <jpark37@lagfreegames.com>
Fri, 27 Nov 2020 06:04:29 +0000 (22:04 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Dec 2020 11:08:21 +0000 (11:08 +0000)
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7785>

src/amd/compiler/aco_ir.h

index 99764b1..9854dec 100644 (file)
@@ -1319,6 +1319,7 @@ enum ReduceOp : uint16_t {
    iand8, iand16, iand32, iand64,
    ior8, ior16, ior32, ior64,
    ixor8, ixor16, ixor32, ixor64,
+   num_reduce_ops,
 };
 
 /**