| 135 | } |
| 136 | |
| 137 | void FinalResult(Float4 bakeOutput[BasisCount]) |
| 138 | { |
| 139 | for(uint64 i = 0; i < BasisCount; ++i) |
| 140 | { |
| 141 | Float3 result = ResultSum[i] * HemisphereMonteCarloFactor(NumSamples); |
| 142 | bakeOutput[i] = Float4(Float3::Clamp(result, -FP16Max, FP16Max), 1.0f); |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | void ProgressiveResult(Float4 bakeOutput[BasisCount], uint64 passIdx) |
| 147 | { |
nothing calls this directly
no test coverage detected