Lines Matching refs:localUniform
300 const UniformInfo& localUniform = fUniforms[i];
301 if (kVertex_GrShaderFlag == localUniform.fVisibility ||
302 kGeometry_GrShaderFlag == localUniform.fVisibility ||
303 (kVertex_GrShaderFlag | kGeometry_GrShaderFlag) == localUniform.fVisibility) {
307 SkASSERT(0 == localUniform.fUBOffset);
311 SkASSERT(kFragment_GrShaderFlag == localUniform.fVisibility);
315 SkASSERT(0 == localUniform.fUBOffset);
324 const UniformInfo& localUniform = fUniforms[i];
325 if (visibility & localUniform.fVisibility) {
326 if (GrSLTypeIsFloatType(localUniform.fVariable.getType())) {
327 localUniform.fVariable.appendDecl(fProgramBuilder->shaderCaps(), &uniformsString);