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