| Index: gpu/command_buffer/service/program_manager.cc
|
| diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc
|
| index 8afa0b13fe5788bb729a597395a7c96256bbf032..ec825d3cd79b93dd688563df1332ac87d3daf700 100644
|
| --- a/gpu/command_buffer/service/program_manager.cc
|
| +++ b/gpu/command_buffer/service/program_manager.cc
|
| @@ -288,6 +288,7 @@ void Program::Reset() {
|
| program_output_infos_.clear();
|
| sampler_indices_.clear();
|
| attrib_location_to_index_map_.clear();
|
| + attrib_location_to_divisor_map_.clear();
|
| }
|
|
|
| std::string Program::ProcessLogInfo(
|
| @@ -497,6 +498,12 @@ void Program::Update() {
|
| }
|
| }
|
|
|
| + // Create attrib location to divisor map
|
| + attrib_location_to_divisor_map_.resize(max_location + 1);
|
| + for (GLint ii = 0; ii <= max_location; ++ii) {
|
| + attrib_location_to_divisor_map_[ii] = 0;
|
| + }
|
| +
|
| if (manager_->gpu_preferences_.enable_gpu_service_logging_gpu) {
|
| DVLOG(1) << "----: attribs for service_id: " << service_id();
|
| for (size_t ii = 0; ii < attrib_infos_.size(); ++ii) {
|
|
|