mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
rsx: Set default attribute format to float.
This commit is contained in:
parent
6b7ce37374
commit
8f5e94c155
2 changed files with 6 additions and 0 deletions
|
@ -867,6 +867,7 @@ namespace rsx
|
|||
|
||||
for (auto& tex : fragment_textures) tex.init();
|
||||
for (auto& tex : vertex_textures) tex.init();
|
||||
for (auto& vtx : vertex_arrays_info) vtx.reset();
|
||||
}
|
||||
|
||||
void rsx_state::decode(u32 reg, u32 value)
|
||||
|
|
|
@ -50,6 +50,11 @@ public:
|
|||
{
|
||||
return decode_reg().type();
|
||||
}
|
||||
|
||||
void reset()
|
||||
{
|
||||
registers[NV4097_SET_VERTEX_DATA_ARRAY_FORMAT + index] = 0x2;
|
||||
}
|
||||
};
|
||||
|
||||
struct register_vertex_data_info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue