/external/skqp/src/gpu/glsl/ |
D | GrGLSLProgramBuilder.cpp | 30 , fFS(this) in GrGLSLProgramBuilder() 54 fFS.addFeature(featureBit, extensionName); in addFeature() 98 fFS.codeAppend(openBrace.c_str()); in emitAndInstallPrimProc() 121 &fFS, in emitAndInstallPrimProc() 137 fFS.codeAppend("}"); in emitAndInstallPrimProc() 182 fFS.codeAppend(openBrace.c_str()); in emitAndInstallFragProc() 203 GrGLSLFragmentProcessor::EmitArgs args(&fFS, in emitAndInstallFragProc() 219 fFS.codeAppend("}"); in emitAndInstallFragProc() 234 fFS.enableSecondaryOutput(); in emitAndInstallXferProc() 238 fFS.enableCustomOutput(); in emitAndInstallXferProc() [all …]
|
D | GrGLSLProgramBuilder.h | 83 GrGLSLFragmentShaderBuilder fFS; variable 116 bool fragColorIsInOut() const { return fFS.primaryColorOutputIsInOut(); } in fragColorIsInOut() 124 SkDEBUGCODE(fFS.resetVerification();) in reset() 134 fPB->fFS.nextStage(); in AutoStageAdvance()
|
D | GrGLSLVarying.cpp | 20 fProgramBuilder->fFS.codeAppendf("%s = %s;", output, v.fsIn()); in addPassThroughAttribute() 101 fProgramBuilder->fFS.addFeature(bit, extension); in setNoPerspective()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLProgramBuilder.cpp | 30 , fFS(this) in GrGLSLProgramBuilder() 51 fFS.addFeature(featureBit, extensionName); in addFeature() 96 fFS.codeAppendf("// Stage %d, %s\n", fStageIndex, geomProc.name()); in emitAndInstallPrimProc() 120 &fFS, in emitAndInstallPrimProc() 173 fFS.codeAppendf("half4 %s;", output.c_str()); in emitFragProc() 193 GrGLSLFragmentProcessor::EmitArgs args(&fFS, in emitFragProc() 200 auto name = fFS.writeProcessorFunction(&glslFP, args); in emitFragProc() 201 fFS.codeAppendf("%s = %s(%s);", output.c_str(), name.c_str(), input.c_str()); in emitFragProc() 221 fFS.enableSecondaryOutput(); in emitAndInstallXferProc() 225 fFS.enableCustomOutput(); in emitAndInstallXferProc() [all …]
|
D | GrGLSLProgramBuilder.h | 98 GrGLSLFragmentShaderBuilder fFS; variable 120 bool fragColorIsInOut() const { return fFS.primaryColorOutputIsInOut(); } in fragColorIsInOut() 128 SkDEBUGCODE(fFS.debugOnly_resetPerStageVerification();) in reset() 138 fPB->fFS.nextStage(); in AutoStageAdvance()
|
D | GrGLSLVarying.cpp | 20 fProgramBuilder->fFS.codeAppendf("%s = %s;", output, v.fsIn()); in addPassThroughAttribute() 99 fProgramBuilder->fFS.addFeature(bit, extension); in setNoPerspective()
|
/external/skqp/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 280 if (fFS.fForceHighPrecision) { in finalize() 285 fFS.fCompilerStrings.begin(), in finalize() 286 fFS.fCompilerStringLengths.begin(), in finalize() 287 fFS.fCompilerStrings.count(), in finalize() 368 fFS.fCompilerStrings.begin(), in finalize() 369 fFS.fCompilerStringLengths.begin(), in finalize() 370 fFS.fCompilerStrings.count(), in finalize() 389 if (fFS.hasCustomColorOutput() && caps.bindFragDataLocationSupport()) { in bindProgramResourceLocations() 393 if (fFS.hasSecondaryOutput() && caps.shaderCaps()->mustDeclareFragmentShaderOutput()) { in bindProgramResourceLocations()
|
/external/skia/src/gpu/vk/ |
D | GrVkPipelineStateBuilder.cpp | 127 fFS, in loadShadersFromCache() 198 fFS.extensions().appendf("#extension GL_ARB_separate_shader_objects : enable\n"); in finalize() 200 fFS.extensions().appendf("#extension GL_ARB_shading_language_420pack : enable\n"); in finalize() 214 if (fFS.fForceHighPrecision) { in finalize() 251 &fFS.fCompilerString, in finalize()
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 193 meta.fHasCustomColorOutput = fFS.hasCustomColorOutput(); in storeShaderInCache() 194 meta.fHasSecondaryColorOutput = fFS.hasSecondaryOutput(); in storeShaderInCache() 251 &fFS.fCompilerString, in finalize() 331 if (fFS.fForceHighPrecision) { in finalize() 480 if (fFS.hasCustomColorOutput() && caps.bindFragDataLocationSupport()) { in bindProgramResourceLocations() 484 if (fFS.hasSecondaryOutput() && caps.shaderCaps()->mustDeclareFragmentShaderOutput()) { in bindProgramResourceLocations()
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipelineStateBuilder.cpp | 165 fFS, in loadShadersFromCache() 269 fFS.extensions().appendf("#extension GL_ARB_separate_shader_objects : enable\n"); in finalize() 271 fFS.extensions().appendf("#extension GL_ARB_shading_language_420pack : enable\n"); in finalize() 310 fFS, in finalize()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlPipelineStateBuilder.mm | 313 fFS.extensions().appendf("#extension GL_ARB_separate_shader_objects : enable\n"); 315 fFS.extensions().appendf("#extension GL_ARB_shading_language_420pack : enable\n"); 331 fragmentLibrary = this->createMtlShaderLibrary(fFS,
|
/external/skia/src/gpu/dawn/ |
D | GrDawnProgramBuilder.cpp | 266 builder.fFS.extensions().appendf("#extension GL_ARB_separate_shader_objects : enable\n"); in Build() 268 builder.fFS.extensions().appendf("#extension GL_ARB_shading_language_420pack : enable\n"); in Build() 276 auto fsModule = builder.createShaderModule(builder.fFS, SkSL::ProgramKind::kFragment, flipY, in Build()
|
/external/skia/src/gpu/d3d/ |
D | GrD3DPipelineStateBuilder.cpp | 574 fFS.extensions().appendf("#extension GL_ARB_separate_shader_objects : enable\n"); in finalize() 576 fFS.extensions().appendf("#extension GL_ARB_shading_language_420pack : enable\n"); in finalize() 614 &fFS.fCompilerString, in finalize()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlPipelineStateBuilder.mm | 540 fFS.extensions().appendf("#extension GL_ARB_separate_shader_objects : enable\n"); 542 fFS.extensions().appendf("#extension GL_ARB_shading_language_420pack : enable\n"); 616 fFS.fCompilerString, 633 sksl[kFragment_GrShaderType] = GrShaderUtils::PrettyPrint(fFS.fCompilerString);
|