| 188 | } |
| 189 | |
| 190 | bool DynamicDiffuseGlobalIlluminationPass::Init() |
| 191 | { |
| 192 | // Check platform support |
| 193 | const auto device = GPUDevice::Instance; |
| 194 | _supported = device->GetFeatureLevel() >= FeatureLevel::SM5 && device->Limits.HasCompute && device->Limits.HasTypedUAVLoad; |
| 195 | return false; |
| 196 | } |
| 197 | |
| 198 | bool DynamicDiffuseGlobalIlluminationPass::setupResources() |
| 199 | { |
no test coverage detected