skia2/tests/sksl/fp
John Stiles 6e7cfaff18 Fix bad FP codegen when sample() calls are inlined.
Previously, temp variables created by sample() calls were named after
the offset of the sample() call within the code. This was
straightforward but would fail if the sample() call were duplicated via
inlining of helper functions.

FP sample() temp variables are now named using a counter, starting from
zero and counting upwards.

Change-Id: I16f9a3426117677c0df13d15772320def99cc0d6
Bug: skia:10858
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/331415
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-11-03 19:54:45 +00:00
..
golden Fix bad FP codegen when sample() calls are inlined. 2020-11-03 19:54:45 +00:00
GrChildProcessorAndGlobal.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessorFieldAccess.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessorInlineFieldAccess.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessors.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessorSampleCoords.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessorSampleMatrixAndCoords.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessorSampleMatrixConstant.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessorSampleMatrixConstantAndCoords.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessorSampleMatrixMultipleUniforms.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessorSampleMatrixSingleInUniform.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessorSampleMatrixSingleUniform.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessorSampleMatrixSingleUniformExpr.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessorsWithInput.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrChildProcessorWithInputExpression.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrConditionalInUniform.fp
GrFunction.fp
GrGrSLTypesAreSupported.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrHelloWorld.fp
GrInlinedFunction.fp
GrInUniform.fp
GrInUniformCType.fp
GrKeyIn.fp
GrLayoutWhen.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrMainCoords.fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrModuloOp.fp Add unit test to demonstrate error with modulo in FP files. 2020-10-29 20:46:08 +00:00
GrNestedCall.fp Add unit test for nested function calls in FP files. 2020-10-23 21:07:36 +00:00
GrNestedChildProcessors.fp
GrNonInlinedInUniform.fp
GrNullableChildProcessor.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 Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
GrUseExplicitReturn.fp