mirror of https://github.com/RPCS3/rpcs3.git
rsx: Set default attribute format to float.
This commit is contained in:
parent
6b7ce37374
commit
8f5e94c155
|
@ -867,6 +867,7 @@ namespace rsx
|
||||||
|
|
||||||
for (auto& tex : fragment_textures) tex.init();
|
for (auto& tex : fragment_textures) tex.init();
|
||||||
for (auto& tex : vertex_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)
|
void rsx_state::decode(u32 reg, u32 value)
|
||||||
|
|
|
@ -50,6 +50,11 @@ public:
|
||||||
{
|
{
|
||||||
return decode_reg().type();
|
return decode_reg().type();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void reset()
|
||||||
|
{
|
||||||
|
registers[NV4097_SET_VERTEX_DATA_ARRAY_FORMAT + index] = 0x2;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct register_vertex_data_info
|
struct register_vertex_data_info
|
||||||
|
|
Loading…
Reference in New Issue