| 170 | } |
| 171 | |
| 172 | void BufferAllocations::SetBuffer(BufferAllocation::Index buffer_index, |
| 173 | se::DeviceMemoryBase buffer) { |
| 174 | CHECK_GE(buffer_index, 0); |
| 175 | CHECK_LT(buffer_index, buffers_.size()); |
| 176 | buffers_[buffer_index] = buffer; |
| 177 | } |
| 178 | |
| 179 | BufferAllocations::KeyType BufferAllocations::Key() const { |
| 180 | KeyType key; |