Commit c1a00c40 authored by Connor Abbott's avatar Connor Abbott

bifrost: Decode a header bit

parent 07622094
......@@ -1416,7 +1416,9 @@ struct Header {
// - false for unconditional branches
// The blob seems to always set it to true if back-to-back is on.
uint64_t branchCond : 1;
uint64_t unk2 : 1;
// This bit is set when the next clause writes to the data register of some
// previous clause.
uint64_t dataRegWriteBarrier : 1;
uint64_t dataReg : 6;
uint64_t scoreboardDeps : 8;
uint64_t scoreboardIndex : 3;
......@@ -1447,6 +1449,9 @@ void DumpHeader(Header header)
printf(") ");
}
if (header.dataRegWriteBarrier)
printf("data-reg-barrier ");
if (!header.noEndOfShader)
printf("eos ");
......@@ -1465,8 +1470,6 @@ void DumpHeader(Header header)
printf("unk0");
if (header.unk1)
printf("unk1");
if (header.unk2)
printf("unk2");
if (header.unk3)
printf("unk3");
if (header.unk4)
......
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