Francisco Casas (@fcasas) commented about libs/vkd3d-shader/hlsl.y:
|| object_type->sampler_dim == HLSL_SAMPLER_DIM_2DMSARRAY) { return raise_invalid_method_object_type(ctx, object_type, name, loc); }
We are not excluding buffers here. Same of the other sample methods.