pan/bi: Add bifrost_texture_operation_mode enum

Differentiates single/dual texturing.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13723>
This commit is contained in:
Alyssa Rosenzweig 2021-11-08 13:59:39 -05:00 committed by Marge Bot
parent 7dc90b68d9
commit 3612880ea3

View file

@ -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,