mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
RSXVertexData bugs fixed
* Some extra info on sys_rsx syscalls * Code cleaned in GLGSRender.cpp
This commit is contained in:
parent
f71780609d
commit
b23a5f2312
3 changed files with 96 additions and 72 deletions
|
@ -117,16 +117,18 @@ u32 RSXVertexData::GetTypeSize()
|
|||
{
|
||||
switch (type)
|
||||
{
|
||||
case 1: return 2;
|
||||
case 2: return 4;
|
||||
case 3: return 2;
|
||||
case 4: return 1;
|
||||
case 5: return 2;
|
||||
case 7: return 1;
|
||||
}
|
||||
case CELL_GCM_VERTEX_S1: return 2;
|
||||
case CELL_GCM_VERTEX_F: return 4;
|
||||
case CELL_GCM_VERTEX_SF: return 2;
|
||||
case CELL_GCM_VERTEX_UB: return 1;
|
||||
case CELL_GCM_VERTEX_S32K: return 2;
|
||||
case CELL_GCM_VERTEX_CMP: return 4;
|
||||
case CELL_GCM_VERTEX_UB256: return 1;
|
||||
|
||||
LOG_ERROR(RSX, "Bad vertex data type! %d", type);
|
||||
return 1;
|
||||
default:
|
||||
LOG_ERROR(RSX, "RSXVertexData::GetTypeSize: Bad vertex data type (%d)!", type);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
#define CMD_DEBUG 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue