| Index: gpu/command_buffer/service/vertex_attrib_manager.cc
|
| diff --git a/gpu/command_buffer/service/vertex_attrib_manager.cc b/gpu/command_buffer/service/vertex_attrib_manager.cc
|
| index 76883dc0f3fe2e956e9017ea82970d0b407e3fb1..e28fd707882500d173f133bf6933742a1c6cf2f1 100644
|
| --- a/gpu/command_buffer/service/vertex_attrib_manager.cc
|
| +++ b/gpu/command_buffer/service/vertex_attrib_manager.cc
|
| @@ -190,7 +190,8 @@ bool VertexAttribManager::ValidateBindings(
|
| const Program::VertexAttrib* attrib_info =
|
| current_program->GetAttribInfoByLocation(attrib->index());
|
| if (attrib_info) {
|
| - divisor0 |= (attrib->divisor() == 0);
|
| + divisor0 |= (current_program->GetAttribDivisorByLocation(
|
| + attrib->index()) == 0);
|
| have_enabled_active_attribs = true;
|
| GLuint count = attrib->MaxVertexAccessed(primcount, max_vertex_accessed);
|
| // This attrib is used in the current program.
|
|
|