skia2/resources/sksl/fp
John Stiles 60191e0502 Revert "Implement statements and expressions in DSL C++ code generator."
This reverts commit 16cbfb41df.

Reason for revert: using ES3 features, breaks on ANGLE ES2 bots

Original change's description:
> Implement statements and expressions in DSL C++ code generator.
>
> This CL removes the bulk of the existing C++ code generator, especially
> all the complex format-string assembly code. It has been replaced with
> actual DSL code generation. Simple IR can now be successfully translated
> to a working DSL fragment processor.
>
> This CL also adds a simple test harness which is patterned after the
> existing SkSLTest; it renders a pixel, reads it back, and fails the test
> if the result isn't solid green (RGBA=0101).
>
> This CL doesn't implement every feature. Some obvious gaps include:
> - Sampling from children
> - Uniforms/inputs of any kind
> - Function calls of any kind
>
> Change-Id: Ib80c23fe1ba4453f7c3cb43b65f93c5ea0deb709
> Bug: skia:11854
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/396757
> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>
> Commit-Queue: John Stiles <johnstiles@google.com>

TBR=brianosman@google.com,ethannicholas@google.com,johnstiles@google.com

Change-Id: I4f3e7667bf1e3a5539d0248b6c47d9ae2296aa88
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:11854
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/398739
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-04-20 19:59:37 +00:00
..
GrChildProcessorAndGlobal.fp
GrChildProcessors.fp
GrChildProcessorSampleCoords.fp
GrChildProcessorSampleMatrixAndCoords.fp
GrChildProcessorSampleMatrixConstant.fp
GrChildProcessorSampleMatrixConstantAndCoords.fp
GrChildProcessorSampleMatrixMultipleUniforms.fp
GrChildProcessorSampleMatrixSingleInUniform.fp
GrChildProcessorSampleMatrixSingleUniform.fp
GrChildProcessorSampleMatrixSingleUniformExpr.fp
GrChildProcessorSampleWithColor.fp Add test case for sample() with color and various forms of coords 2021-04-15 20:34:42 +00:00
GrChildProcessorsWithInput.fp
GrChildProcessorWithInputExpression.fp
GrConditionalInUniform.fp
GrDSLHelloWorld.fp Revert "Implement statements and expressions in DSL C++ code generator." 2021-04-20 19:59:37 +00:00
GrFunction.fp
GrFunctionArgTypes.fp
GrFunctionReturnTypes.fp
GrGrSLTypesAreSupported.fp
GrHelloWorld.fp
GrInlinedFunction.fp
GrInUniform.fp
GrInUniformCType.fp
GrKeyIn.fp
GrLayoutWhen.fp
GrMainCoords.fp
GrModuloOp.fp
GrNestedCall.fp
GrNestedChildProcessors.fp
GrNonInlinedInUniform.fp
GrSectionClass.fp
GrSectionConstructor.fp
GrSectionConstructorParams.fp
GrSectionCpp.fp
GrSectionDumpInfo.fp
GrSectionEmitCode.fp
GrSectionFields.fp
GrSectionHeader.fp
GrSectionInitializers.fp
GrSectionMake.fp
GrSectionSetData.fp
GrSectionTest.fp
GrTrackedInUniform.fp
GrUniform.fp
GrUniformArrays.fp
GrUseExplicitReturn.fp