On Tue Jan 23 14:22:57 2024 +0000, Zebediah Figura wrote:
Actually the way we should probably be doing this is to use a single RESOURCE_TYPE but make dimension a property of struct resource_params.
Is it worth it though? Considering that we do a `switch (params->type)` on each backend, and on Vulkan and OpenGL, srv buffers and uav buffers are handled by the same case, similarly textures and uavs. We would have to replace these switches with big `if...else` blocks.