Home
last modified time | relevance | path

Searched refs:fFS (Results 1 – 14 of 14) sorted by relevance

/external/skqp/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp30 , 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 …]
DGrGLSLProgramBuilder.h83 GrGLSLFragmentShaderBuilder fFS; variable
116 bool fragColorIsInOut() const { return fFS.primaryColorOutputIsInOut(); } in fragColorIsInOut()
124 SkDEBUGCODE(fFS.resetVerification();) in reset()
134 fPB->fFS.nextStage(); in AutoStageAdvance()
DGrGLSLVarying.cpp20 fProgramBuilder->fFS.codeAppendf("%s = %s;", output, v.fsIn()); in addPassThroughAttribute()
101 fProgramBuilder->fFS.addFeature(bit, extension); in setNoPerspective()
/external/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp30 , 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 …]
DGrGLSLProgramBuilder.h98 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()
DGrGLSLVarying.cpp20 fProgramBuilder->fFS.codeAppendf("%s = %s;", output, v.fsIn()); in addPassThroughAttribute()
99 fProgramBuilder->fFS.addFeature(bit, extension); in setNoPerspective()
/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp280 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/
DGrVkPipelineStateBuilder.cpp127 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/
DGrGLProgramBuilder.cpp193 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/
DGrVkPipelineStateBuilder.cpp165 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/
DGrMtlPipelineStateBuilder.mm313 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/
DGrDawnProgramBuilder.cpp266 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/
DGrD3DPipelineStateBuilder.cpp574 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/
DGrMtlPipelineStateBuilder.mm540 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);