fixup: Clear disabled attrib entries

This commit is contained in:
kd-11 2018-11-11 12:27:07 +03:00 committed by kd-11
parent 833c25894f
commit 718a04c84f
1 changed files with 3 additions and 0 deletions

View File

@ -2027,7 +2027,10 @@ namespace rsx
for (u8 index = 0; index < rsx::limits::vertex_count; ++index)
{
if (layout.attribute_placement[index] == attribute_buffer_placement::none)
{
((u64*)buffer)[index] = 0ull;
continue;
}
rsx::vertex_base_type type = {};
s32 size = 0;