* Get the format compression ration along the x-axis */
| 255 | * Get the format compression ration along the x-axis |
| 256 | */ |
| 257 | inline uint32_t getFormatWidthCompressionRatio(ResourceFormat format) |
| 258 | { |
| 259 | FALCOR_ASSERT(kFormatDesc[(uint32_t)format].format == format); |
| 260 | return kFormatDesc[(uint32_t)format].compressionRatio.width; |
| 261 | } |
| 262 | |
| 263 | /** |
| 264 | * Get the format compression ration along the y-axis |
no outgoing calls
no test coverage detected