Ignore upper bits of prim type.

This matches tests on what hardware does.
This commit is contained in:
Unknown W. Brackets 2016-04-10 13:11:55 -07:00
parent e95b2cf0d5
commit d920ffdcad
4 changed files with 7 additions and 4 deletions

View file

@ -822,7 +822,8 @@ void GPU_Vulkan::Execute_Prim(u32 op, u32 diff) {
u32 data = op & 0xFFFFFF;
u32 count = data & 0xFFFF;
GEPrimitiveType prim = static_cast<GEPrimitiveType>(data >> 16);
// Upper bits are ignored.
GEPrimitiveType prim = static_cast<GEPrimitiveType>((data >> 16) & 7);
if (count == 0)
return;