| 76 | } |
| 77 | |
| 78 | constexpr bool isDepthFormat( PixelFormat fmt )noexcept |
| 79 | { |
| 80 | return fmt == PixelFormat::eD16_UNORM |
| 81 | || fmt == PixelFormat::eX8_D24_UNORM |
| 82 | || fmt == PixelFormat::eD32_SFLOAT |
| 83 | || fmt == PixelFormat::eD16_UNORM_S8_UINT |
| 84 | || fmt == PixelFormat::eD24_UNORM_S8_UINT |
| 85 | || fmt == PixelFormat::eD32_SFLOAT_S8_UINT; |
| 86 | } |
| 87 | |
| 88 | constexpr bool isStencilFormat( PixelFormat fmt )noexcept |
| 89 | { |
no outgoing calls
no test coverage detected