| 216 | } |
| 217 | |
| 218 | const char * AllocationToString(Allocation alloc) |
| 219 | { |
| 220 | if(alloc == ALLOCATION_UNIFORM) return "uniform"; |
| 221 | else if(alloc == ALLOCATION_LG2) return "lg2"; |
| 222 | return "unknown"; |
| 223 | } |
| 224 | |
| 225 | Allocation AllocationFromString(const char * s) |
| 226 | { |
no outgoing calls
no test coverage detected