Home | History | Annotate | Download | only in bench

Lines Matching defs:shaderCaps

96     const GrShaderCaps* shaderCaps = ctx->caps()->shaderCaps();
97 const char* version = shaderCaps->versionDeclString();
110 aPosition.appendDecl(shaderCaps, &vshaderTxt);
112 aColor.appendDecl(shaderCaps, &vshaderTxt);
114 oPosition.appendDecl(shaderCaps, &vshaderTxt);
116 oColor.appendDecl(shaderCaps, &vshaderTxt);
134 GrGLSLAppendDefaultFloatPrecisionDeclaration(kMedium_GrSLPrecision, *shaderCaps, &fshaderTxt);
136 oPosition.appendDecl(shaderCaps, &fshaderTxt);
139 oColor.appendDecl(shaderCaps, &fshaderTxt);
143 if (shaderCaps->mustDeclareFragmentShaderOutput()) {
144 oFragColor.appendDecl(shaderCaps, &fshaderTxt);