47b48bc2be
This reverts commit289da86e37
. Reason for revert: relanding Original change's description: > Revert "Add support for uniforms and layout(key)s to DSLCPPCodeGenerator." > > This reverts commitf33b061e3b
. > > Reason for revert: Google3 roll and wasm build > > Original change's description: > > Add support for uniforms and layout(key)s to DSLCPPCodeGenerator. > > > > Change-Id: I77c386e3d72fb4a5986e5efb8bc9d409200534d1 > > Bug: skia:11854 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/398457 > > Commit-Queue: John Stiles <johnstiles@google.com> > > Auto-Submit: John Stiles <johnstiles@google.com> > > Reviewed-by: Brian Osman <brianosman@google.com> > > TBR=brianosman@google.com,ethannicholas@google.com,johnstiles@google.com > > Change-Id: I006ece639fa6051ff6ef1c496e648db9d5d0b30a > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: skia:11854 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/399498 > Reviewed-by: John Stiles <johnstiles@google.com> > Commit-Queue: John Stiles <johnstiles@google.com> Bug: skia:11854 Change-Id: I1a4a4db471e2ad0b169b2b77784ca17e6286fbd2 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/400036 Reviewed-by: John Stiles <johnstiles@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
39 lines
1.5 KiB
C++
39 lines
1.5 KiB
C++
|
|
|
|
/**************************************************************************************************
|
|
*** This file was autogenerated from GrDSLFPTest_ForStatement.fp; do not modify.
|
|
**************************************************************************************************/
|
|
#ifndef GrDSLFPTest_ForStatement_DEFINED
|
|
#define GrDSLFPTest_ForStatement_DEFINED
|
|
|
|
#include "include/core/SkM44.h"
|
|
#include "include/core/SkTypes.h"
|
|
|
|
|
|
#include "src/gpu/GrFragmentProcessor.h"
|
|
|
|
class GrDSLFPTest_ForStatement : public GrFragmentProcessor {
|
|
public:
|
|
static std::unique_ptr<GrFragmentProcessor> Make(SkPMColor4f colorWhite) {
|
|
return std::unique_ptr<GrFragmentProcessor>(new GrDSLFPTest_ForStatement(colorWhite));
|
|
}
|
|
GrDSLFPTest_ForStatement(const GrDSLFPTest_ForStatement& src);
|
|
std::unique_ptr<GrFragmentProcessor> clone() const override;
|
|
const char* name() const override { return "DSLFPTest_ForStatement"; }
|
|
SkPMColor4f colorWhite;
|
|
private:
|
|
GrDSLFPTest_ForStatement(SkPMColor4f colorWhite)
|
|
: INHERITED(kGrDSLFPTest_ForStatement_ClassID, kNone_OptimizationFlags)
|
|
, colorWhite(colorWhite) {
|
|
}
|
|
std::unique_ptr<GrGLSLFragmentProcessor> onMakeProgramImpl() const override;
|
|
void onGetGLSLProcessorKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const override;
|
|
bool onIsEqual(const GrFragmentProcessor&) const override;
|
|
#if GR_TEST_UTILS
|
|
SkString onDumpInfo() const override;
|
|
#endif
|
|
GR_DECLARE_FRAGMENT_PROCESSOR_TEST
|
|
using INHERITED = GrFragmentProcessor;
|
|
};
|
|
#endif
|