| 399 | } |
| 400 | |
| 401 | float4 GetMaskForLastPlane(int channels) { |
| 402 | float4 mask = float4(0.0f); |
| 403 | const int reminder = channels % 4 == 0 ? 4 : channels % 4; |
| 404 | for (int i = 0; i < reminder; ++i) { |
| 405 | mask[i] = 1.0f; |
| 406 | } |
| 407 | return mask; |
| 408 | } |
| 409 | |
| 410 | } // namespace cl |
| 411 | } // namespace gpu |
no outgoing calls
no test coverage detected