- assert(src->swizzle == VKD3D_SHADER_NO_SWIZZLE && src->reg.type == VKD3DSPR_IMMCONST); + assert(src->swizzle == VKD3D_SHADER_SWIZZLE(X, X, X, X) && src->reg.type == VKD3DSPR_IMMCONST);
Actually, I don't think we can make this assertion either? It's not entirely a new issue, of course, be AFAIK there's nothing in the frontends that enforces VKD3DSIH_CASE takes a VKD3DSPR_IMMCONST source, and this MR is removing the fixed VKD3D_SHADER_NO_SWIZZLE swizzle for immediate constants.