History

Changes necessary to build Vulkan branch updated to current master branch

ksuprynowicz committed 4 years ago

Commit fa2fea31 parent 2acd1f622 files · +59 −34Browse files

Showing the changes to libraries/render-utils/src/ToneMapAndResampleTask.cpp (1 of 22 files). Show all

Unified · Split

libraries/render-utils/src/ToneMapAndResampleTask.cpp+1−1
@@ -28,7 +28,7 @@ gpu::PipelinePointer ToneMapAndResample::_mirrorPipeline; · 27 unmodified lines
2828
2929 ToneMapAndResample::ToneMapAndResample() {
3030 Parameters parameters;
31− _parametersBuffer = gpu::BufferView(std::make_shared<gpu::Buffer>(sizeof(Parameters), (const gpu::Byte*) &parameters));
31+ _parametersBuffer = gpu::BufferView(std::make_shared<gpu::Buffer>(gpu::Buffer::UniformBuffer, sizeof(Parameters), (const gpu::Byte*) &parameters));
3232 }
3333
3434 void ToneMapAndResample::init() {