Mesa (master): aco: Declare num_reduce_ops for array size

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Dec 1 11:23:20 UTC 2020


Module: Mesa
Branch: master
Commit: 9779a9a51e5d21044a2edbe15b876c5880d5804b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9779a9a51e5d21044a2edbe15b876c5880d5804b

Author: James Park <jpark37 at lagfreegames.com>
Date:   Thu Nov 26 22:04:29 2020 -0800

aco: Declare num_reduce_ops for array size

Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7785>

---

 src/amd/compiler/aco_ir.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/compiler/aco_ir.h b/src/amd/compiler/aco_ir.h
index 99764b1e898..9854dec5c96 100644
--- a/src/amd/compiler/aco_ir.h
+++ b/src/amd/compiler/aco_ir.h
@@ -1319,6 +1319,7 @@ enum ReduceOp : uint16_t {
    iand8, iand16, iand32, iand64,
    ior8, ior16, ior32, ior64,
    ixor8, ixor16, ixor32, ixor64,
+   num_reduce_ops,
 };
 
 /**



More information about the mesa-commit mailing list