Lines Matching refs:uniform
40 // the uniform view matrix name in the GP, and the GP is immutable so it has to tell the PB
41 // exactly what name it wants to use for the uniform view matrix. If we prefix anythings, then
43 // uniform view matrix, they should upload the view matrix in their setData along with regular
98 for (const UniformInfo& uniform : fUniforms.items()) {
99 if (uniform.fVisibility & visibility) {
100 uniform.fVariable.appendDecl(fProgramBuilder->shaderCaps(), out);
115 for (GLUniformInfo& uniform : fUniforms.items()) {
116 GL_CALL(BindUniformLocation(programID, currUniform, uniform.fVariable.c_str()));
117 uniform.fLocation = currUniform;
130 for (GLUniformInfo& uniform : fUniforms.items()) {
132 GL_CALL_RET(location, GetUniformLocation(programID, uniform.fVariable.c_str()));
133 uniform.fLocation = location;