const char *SamplerString(const TBasicType type) { if (IsShadowSampler(type)) { return "SamplerComparisonState"; } else { return "SamplerState"; } }
TString SamplerString(const TType &type) { if (IsShadowSampler(type.getBasicType())) { return "SamplerComparisonState"; } else { return "SamplerState"; } }