Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
Add secondary fill mode state
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssarosenzweig committed Apr 20, 2021
1 parent 0f6d35d commit 9f12bc5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions demo/demo.c
Expand Up @@ -180,11 +180,14 @@ demo_unk10(struct agx_allocator *allocator)
static uint64_t
demo_unk11(struct agx_allocator *allocator)
{
/* Metal sets this together but purpose unknown */
#define UNK11_FILL_MODE_LINES_1 (0x4 << 24)
#define UNK11_FILL_MODE_LINES_2 (0x5004 << 16)
uint32_t unk[] = {
0x200004a,
0x200,
0x7e00000,
0x7e00000,
0x200 | UNK11_FILL_MODE_LINES_1,
0x7e00000 | UNK11_FILL_MODE_LINES_2,
0x7e00000 | UNK11_FILL_MODE_LINES_2,
0x1ffff
};

Expand Down

0 comments on commit 9f12bc5

Please sign in to comment.