Commit 6189fe8d authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Additional wrapping mode

parent 53d9ef82
......@@ -451,12 +451,12 @@ enum mali_channel {
MALI_CHANNEL_RESERVED_1 = 7,
};
/* Used with wrapping. Incomplete (there's a fourth mode in ES 3.2; also, this
* is a 4-bit field...) */
/* Used with wrapping. Incomplete (this is a 4-bit field...) */
enum mali_wrap_mode {
MALI_WRAP_REPEAT = 0x8,
MALI_WRAP_CLAMP_TO_EDGE = 0x9,
MALI_WRAP_CLAMP_TO_BORDER = 0xB,
MALI_WRAP_MIRRORED_REPEAT = 0xC
};
......
......@@ -205,6 +205,7 @@ static char *panwrap_wrap_mode_name(enum mali_wrap_mode op)
switch(op) {
DEFINE_CASE(REPEAT);
DEFINE_CASE(CLAMP_TO_EDGE);
DEFINE_CASE(CLAMP_TO_BORDER);
DEFINE_CASE(MIRRORED_REPEAT);
default: return "MALI_WRAP_REPEAT /* XXX: Unknown wrap mode, check dump */";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment