Commit b8173a7b authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Identify depth range flags

parent fe96237d
......@@ -89,8 +89,10 @@ enum mali_func {
#define MALI_DEPTH_TEST (1 << 27)
/* Next flags to unknown2_4 */
#define MALI_NO_MSAA (1 << 30)
#define MALI_STENCIL_TEST (1 << 16)
#define MALI_DEPTH_RANGE_A (1 << 28)
#define MALI_DEPTH_RANGE_B (1 << 29)
#define MALI_NO_MSAA (1 << 30)
/* glStencilMask state plonked onto unknown2_4, a bit like glDepthFunc plonked
* onto unknown2_3 */
......
......@@ -69,6 +69,8 @@ static const struct panwrap_flag_info u3_flag_info[] = {
static const struct panwrap_flag_info u4_flag_info[] = {
FLAG_INFO(NO_MSAA),
FLAG_INFO(DEPTH_RANGE_A),
FLAG_INFO(DEPTH_RANGE_B),
FLAG_INFO(STENCIL_TEST),
{}
};
......
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