Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 1011 vs 1014 for /trunk/Source Code/Rendering/PostFX/CustomOperators/BloomPreRenderOperator.cpp

Diff revisions: vs.
  @@ -56,7 +56,7 @@
56 56 blur.setThreadedLoading(false);
57 57 _blur = CreateResource<ShaderProgram>(cache, blur);
58 58
59 - _bloomCalcConstants.set("kernelSize", PushConstantType::INT, 10);
59 + _bloomCalcConstants.set("kernelSize", GFX::PushConstantType::INT, 10);
60 60 _horizBlur = _blur->GetSubroutineIndex(ShaderType::FRAGMENT, "blurHorizontal");
61 61 _vertBlur = _blur->GetSubroutineIndex(ShaderType::FRAGMENT, "blurVertical");
62 62 }
  @@ -80,7 +80,7 @@
80 80 _bloomBlurBuffer[0]._rt->resize(width, height);
81 81 _bloomBlurBuffer[1]._rt->resize(width, height);
82 82
83 - _bloomCalcConstants.set("size", PushConstantType::VEC2, vec2<F32>(width, height));
83 + _bloomCalcConstants.set("size", GFX::PushConstantType::VEC2, vec2<F32>(width, height));
84 84 }
85 85
86 86 // Order: luminance calc -> bloom -> tonemap
  @@ -180,7 +180,7 @@
180 180 pipelineCmd._pipeline = &_context.newPipeline(pipelineDescriptor);
181 181 GFX::BindPipeline(bufferInOut, pipelineCmd);
182 182
183 - _bloomApplyConstants.set("bloomFactor", PushConstantType::FLOAT, _bloomFactor);
183 + _bloomApplyConstants.set("bloomFactor", GFX::PushConstantType::FLOAT, _bloomFactor);
184 184 pushConstantsCommand._constants = _bloomApplyConstants;
185 185 GFX::SendPushConstants(bufferInOut, pushConstantsCommand);
186 186