| 305 | /////////////////////////////////////////// |
| 306 | |
| 307 | inline uint64_t render_sort_id(material_t material, mesh_t mesh) { |
| 308 | return ((uint64_t)(material->alpha_mode*1000 + material->queue_offset) << 32) | (material->header.index << 16) | mesh->header.index; |
| 309 | } |
| 310 | inline uint64_t render_sort_id_from_queue(int32_t queue_position) { |
| 311 | return (uint64_t)(queue_position) << 32; |
| 312 | } |
no outgoing calls
no test coverage detected