Revert "Fix sampler arrays indexed with non-constant expressions is forbidden"