c95c4a69e1
- The raster pipeline JIT was an experiment that never really panned out (except for also introducing the interpreter, which survives). The removal should be pretty thorough, including undoing some changes to SkRasterPipeline itself. For reference, I basically undid most of https://skia-review.googlesource.com/c/skia/+/112204/ - With runtime shaders, always convert to Program using kPipelineStage This makes the first-pass compile consistent with runtime color filter, and with GrSkSLFP. - Remove sksl_mixer.inc, which hasn't been used in a while. - In sksl_pipeline.inc, all of the math symbols are already declared in sksl_gpu.inc, which forms the base symbol table when this include is parsed. sk_x and sk_y appear to never be used? Those builtin IDs are the IDs of the x and y params to main, but that logic still works without these declarations. sk_OutColor only makes sense in FP files (it's still declared in sksl_fp.inc). Change-Id: Ie8dd68d2c4687745d46f96804a76695bce8c1ba2 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/246017 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
70 lines
2.7 KiB
Plaintext
70 lines
2.7 KiB
Plaintext
# Copyright 2016 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# Things are easiest for everyone if these source paths are absolute.
|
|
_src = get_path_info("../src", "abspath")
|
|
|
|
skia_sksl_sources = [
|
|
"$_src/sksl/SkSLASTNode.cpp",
|
|
"$_src/sksl/SkSLByteCode.cpp",
|
|
"$_src/sksl/SkSLByteCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLCFGGenerator.cpp",
|
|
"$_src/sksl/SkSLCompiler.cpp",
|
|
"$_src/sksl/SkSLIRGenerator.cpp",
|
|
"$_src/sksl/SkSLLexer.cpp",
|
|
"$_src/sksl/SkSLParser.cpp",
|
|
"$_src/sksl/SkSLSectionAndParameterHelper.cpp",
|
|
"$_src/sksl/SkSLString.cpp",
|
|
"$_src/sksl/SkSLUtil.cpp",
|
|
"$_src/sksl/ir/SkSLSetting.cpp",
|
|
"$_src/sksl/ir/SkSLSymbolTable.cpp",
|
|
"$_src/sksl/ir/SkSLType.cpp",
|
|
"$_src/sksl/ir/SkSLVariableReference.cpp",
|
|
]
|
|
|
|
skia_sksl_gpu_sources = [
|
|
"$_src/sksl/SkSLCPPCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLCPPUniformCTypes.cpp",
|
|
"$_src/sksl/SkSLGLSLCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLHCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLMetalCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLOutputStream.cpp",
|
|
"$_src/sksl/SkSLPipelineStageCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLSPIRVCodeGenerator.cpp",
|
|
]
|
|
|
|
skia_gpu_processor_sources = [
|
|
"$_src/gpu/effects/GrAARectEffect.fp",
|
|
"$_src/gpu/effects/GrAlphaThresholdFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrBlurredEdgeFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrCircleBlurFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrCircleEffect.fp",
|
|
"$_src/gpu/effects/GrComposeLerpEffect.fp",
|
|
"$_src/gpu/effects/GrComposeLerpRedEffect.fp",
|
|
"$_src/gpu/effects/GrConfigConversionEffect.fp",
|
|
"$_src/gpu/effects/GrConstColorProcessor.fp",
|
|
"$_src/gpu/effects/GrColorMatrixFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrEllipseEffect.fp",
|
|
"$_src/gpu/effects/GrLumaColorFilterEffect.fp",
|
|
"$_src/gpu/effects/GrMagnifierEffect.fp",
|
|
"$_src/gpu/effects/GrMixerEffect.fp",
|
|
"$_src/gpu/effects/GrOverrideInputFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrPremulInputFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrRectBlurEffect.fp",
|
|
"$_src/gpu/effects/GrRRectBlurEffect.fp",
|
|
"$_src/gpu/effects/GrSaturateProcessor.fp",
|
|
"$_src/gpu/effects/GrSimpleTextureEffect.fp",
|
|
"$_src/gpu/gradients/GrDualIntervalGradientColorizer.fp",
|
|
"$_src/gpu/gradients/GrSingleIntervalGradientColorizer.fp",
|
|
"$_src/gpu/gradients/GrTextureGradientColorizer.fp",
|
|
"$_src/gpu/gradients/GrUnrolledBinaryGradientColorizer.fp",
|
|
"$_src/gpu/gradients/GrLinearGradientLayout.fp",
|
|
"$_src/gpu/gradients/GrRadialGradientLayout.fp",
|
|
"$_src/gpu/gradients/GrSweepGradientLayout.fp",
|
|
"$_src/gpu/gradients/GrTwoPointConicalGradientLayout.fp",
|
|
"$_src/gpu/gradients/GrClampedGradientEffect.fp",
|
|
"$_src/gpu/gradients/GrTiledGradientEffect.fp",
|
|
]
|