| 210 | } |
| 211 | |
| 212 | bool IsInt64ImageFormat(spv::ImageFormat format) { |
| 213 | switch (format) { |
| 214 | case spv::ImageFormat::R64ui: |
| 215 | case spv::ImageFormat::R64i: |
| 216 | return true; |
| 217 | default: |
| 218 | break; |
| 219 | } |
| 220 | return false; |
| 221 | } |
| 222 | |
| 223 | bool IsSignedIntImageFormat(spv::ImageFormat format) { |
| 224 | switch (format) { |