rsx: Set default attribute format to float.

This commit is contained in:
vlj 2016-09-18 00:40:42 +02:00
parent 6b7ce37374
commit 8f5e94c155
2 changed files with 6 additions and 0 deletions

View File

@ -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)

View File

@ -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