fixup: Clear disabled attrib entries
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user