Home | History | Annotate | Download | only in randomshaders

Lines Matching defs:samplerType

1394 static int countSamplers (const VariableManager& varManager, VariableType::Type samplerType)
1398 IsSamplerEntry::Iterator i = varManager.getBegin(IsSamplerEntry(samplerType));
1399 IsSamplerEntry::Iterator end = varManager.getEnd(IsSamplerEntry(samplerType));
1436 VariableType::Type samplerType = VariableType::TYPE_LAST;
1443 samplerType = VariableType::TYPE_SAMPLER_2D;
1448 samplerType = VariableType::TYPE_SAMPLER_CUBE;
1458 bool hasSampler = samplerType == VariableType::TYPE_SAMPLER_2D ? (sampler2DCount > 0) : (samplerCubeCount > 0);
1463 Variable* sampler = state.getVariableManager().allocate(VariableType(samplerType, 1));
1468 m_sampler = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(IsSamplerEntry(samplerType)),
1469 state.getVariableManager().getEnd(IsSamplerEntry(samplerType)))->getVariable();