Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/dxil.c:
#define VKD3D_SM6_VERSION_MAJOR(version) (((version) >> 4) & 0xf) #define VKD3D_SM6_VERSION_MINOR(version) (((version) >> 0) & 0xf) +#define VKD3D_SM6_MAX_METADATA_TABLES 4
That's fine for me as it can always be increased (or made dynamic) later, but any specific reason for this number?