Commit b13e728b authored by Louis-Francis Ratté-Boulianne's avatar Louis-Francis Ratté-Boulianne Committed by Erik Faye-Lund
Browse files

d3d12: Add d3d12_descriptor_handle_is_allocated helper

parent 8ed21823
......@@ -38,6 +38,12 @@ struct d3d12_descriptor_handle {
struct d3d12_descriptor_heap *heap;
};
inline bool
d3d12_descriptor_handle_is_allocated(struct d3d12_descriptor_handle *handle)
{
return (handle->heap != NULL);
}
void
d3d12_descriptor_handle_free(struct d3d12_descriptor_handle *handle);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment