Lines Matching refs:glslUniform
1759 …bool Program::defineUniform(GLenum shader, const glsl::Uniform &glslUniform, const Uniform::BlockI… in defineUniform() argument
1761 if(IsSamplerUniform(glslUniform.type)) in defineUniform()
1763 int index = glslUniform.registerIndex; in defineUniform()
1773 switch(glslUniform.type) in defineUniform()
1775 default: UNREACHABLE(glslUniform.type); in defineUniform()
1809 switch(glslUniform.type) in defineUniform()
1811 default: UNREACHABLE(glslUniform.type); in defineUniform()
1843 while(index < glslUniform.registerIndex + static_cast<int>(glslUniform.arraySize)); in defineUniform()
1846 Uniform *uniform = getUniform(glslUniform.name); in defineUniform()
1850 uniform = new Uniform(glslUniform, blockInfo); in defineUniform()
1857 uniformIndex.push_back(UniformLocation(glslUniform.name, i, index)); in defineUniform()
1862 if(uniform->type != glslUniform.type) in defineUniform()
1868 if(uniform->precision != glslUniform.precision) in defineUniform()
1874 if(!areMatchingFields(uniform->fields, glslUniform.fields, uniform->name)) in defineUniform()
1882 uniform->vsRegisterIndex = glslUniform.registerIndex; in defineUniform()
1886 uniform->psRegisterIndex = glslUniform.registerIndex; in defineUniform()
1894 if(glslUniform.registerIndex + uniform->registerCount() > MAX_VERTEX_UNIFORM_VECTORS) in defineUniform()
1902 if(glslUniform.registerIndex + uniform->registerCount() > MAX_FRAGMENT_UNIFORM_VECTORS) in defineUniform()