rsx: Set default attribute format to float.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user