Commit 5d827583 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Identify DEPTH_TEST flags

parent 753b5a21
......@@ -66,8 +66,11 @@ enum mali_gl_mode {
#define MALI_HAS_MSAA (1 << 16)
#define MALI_CAN_DISCARD (1 << 21)
#define MALI_HAS_BLEND_SHADER (1 << 22)
#define MALI_NO_DEPTH_TEST_A (1 << 25)
#define MALI_NO_DEPTH_TEST_B (1 << 26)
#define MALI_DEPTH_TEST (1 << 27)
/* Next flags to unknown4 */
/* Next flags to unknown2_4 */
#define MALI_NO_MSAA (1 << 30)
#define MALI_STENCIL_TEST (1 << 16)
......
......@@ -53,6 +53,9 @@ static const struct panwrap_flag_info u3_flag_info[] = {
FLAG_INFO(HAS_MSAA),
FLAG_INFO(CAN_DISCARD),
FLAG_INFO(HAS_BLEND_SHADER),
FLAG_INFO(NO_DEPTH_TEST_A),
FLAG_INFO(NO_DEPTH_TEST_B),
FLAG_INFO(DEPTH_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