Module: Mesa Branch: main Commit: 3612880ea3e476922ea45b0cbb607e615a2f5b82 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3612880ea3e476922ea45b0cbb607e615a2f5b82
Author: Alyssa Rosenzweig <[email protected]> Date: Mon Nov 8 13:59:39 2021 -0500 pan/bi: Add bifrost_texture_operation_mode enum Differentiates single/dual texturing. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13723> --- src/panfrost/bifrost/bifrost.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/panfrost/bifrost/bifrost.h b/src/panfrost/bifrost/bifrost.h index d9c567fa59e..b8c5fb4c6e6 100644 --- a/src/panfrost/bifrost/bifrost.h +++ b/src/panfrost/bifrost/bifrost.h @@ -409,6 +409,14 @@ static const struct bifrost_reg_ctrl_23 bifrost_reg_ctrl_lut[32] = { /* Texture operator descriptors in various states. Usually packed in the * compiler and stored as a constant */ +enum bifrost_texture_operation_mode { + /* Dual texturing */ + BIFROST_TEXTURE_OPERATION_DUAL = 1, + + /* Single texturing */ + BIFROST_TEXTURE_OPERATION_SINGLE = 3, +}; + enum bifrost_index { /* Both texture/sampler index immediate */ BIFROST_INDEX_IMMEDIATE_SHARED = 0,
