Skip to content
Snippets Groups Projects
Verified Commit 21e6fb98 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#82] Ceil of approval

parent 3eb70400
No related branches found
No related tags found
1 merge request!70Resolve "Voxel cone tracing"
Pipeline #25998 passed
...@@ -260,8 +260,8 @@ void ShadowMapping::recordShadowMapRendering( ...@@ -260,8 +260,8 @@ void ShadowMapping::recordShadowMapRendering(
// depth to moments // depth to moments
uint32_t dispatchCount[3]; uint32_t dispatchCount[3];
dispatchCount[0] = (uint32_t)std::ceilf(shadowMapResolution / 8.f); dispatchCount[0] = static_cast<uint32_t>(std::ceil(shadowMapResolution / 8.f));
dispatchCount[1] = (uint32_t)std::ceilf(shadowMapResolution / 8.f); dispatchCount[1] = static_cast<uint32_t>(std::ceil(shadowMapResolution / 8.f));
dispatchCount[2] = 1; dispatchCount[2] = 1;
const uint32_t msaaSampleCount = msaaToSampleCount(msaa); const uint32_t msaaSampleCount = msaaToSampleCount(msaa);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment