rsx:🧵 disable all vertex data at end command

Fixed OpenGL program attributes cache flush
This commit is contained in:
DH 2015-10-14 01:45:18 +03:00
parent 6d99516489
commit 37a3800597
4 changed files with 42 additions and 14 deletions

View file

@ -819,7 +819,7 @@ namespace rsx
auto &data = vertex_arrays[index];
if (info.frequency)
if (info.frequency > 1)
{
LOG_ERROR(RSX, "%s: frequency is not null (%d, index=%d)", __FUNCTION__, info.frequency, index);
}
@ -916,6 +916,10 @@ namespace rsx
for (auto &vertex_array : vertex_arrays)
vertex_array.clear();
//disable all vertex data
for (auto &vertex_info : vertex_arrays_info)
vertex_info.size = 0;
transform_constants.clear();
}