mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-17 21:02:41 +00:00
vk_rasterizer: Workaround bug in VK_EXT_vertex_input_dynamic_state
Workaround potential bug on Nvidia's driver where only updating high attributes leaves low attributes out dated.
This commit is contained in:
@@ -97,7 +97,7 @@ void RasterizerOpenGL::SyncVertexFormats() {
|
||||
const auto gl_index = static_cast<GLuint>(index);
|
||||
|
||||
// Disable constant attributes.
|
||||
if (attrib.IsConstant()) {
|
||||
if (attrib.constant) {
|
||||
glDisableVertexAttribArray(gl_index);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user