Ignore upper bits of prim type.
This matches tests on what hardware does.
This commit is contained in:
parent
e95b2cf0d5
commit
d920ffdcad
4 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue