Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 25 files). Show all
Unified · Split
| @@ -1686,7 +1686,7 @@ void GeometryCache::useGridPipeline(gpu::Batch& batch, GridBuffer gridBuffer, bo · 1685 unmodified lines | ||
| 1686 | 1686 | auto ps = gpu::Shader::createPixel(std::string(grid_frag)); |
| 1687 | 1687 | auto program = gpu::Shader::createProgram(vs, ps); |
| 1688 | 1688 | gpu::Shader::makeProgram((*program)); |
| 1689 | − _gridSlot = program->getBuffers().findLocation("gridBuffer"); | |
| 1689 | + _gridSlot = program->getUniformBuffers().findLocation("gridBuffer"); | |
| 1690 | 1690 | |
| 1691 | 1691 | auto stateLayered = std::make_shared<gpu::State>(); |
| 1692 | 1692 | stateLayered->setBlendFunction(true, gpu::State::SRC_ALPHA, gpu::State::BLEND_OP_ADD, gpu::State::INV_SRC_ALPHA); |