Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/ir.c:
#include "vkd3d_shader_private.h"
+static const unsigned int D3D12_CLIP_OR_CULL_DISTANCE_COUNT = 8;
It seems a bit weird to have a D3D12_ constant in generic code; maybe just call it MAX_CLIP_OR_CULL_DISTANCE_COUNT?
Same with mentioning d3d12 in the error message... I'd just leave that out?