Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/gfx/skia/skia/src/sksl/codegen/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 987 B image not shown  

Quelle  SkSLWGSLCodeGenerator.h

  Sprache: C
 

/*
 * Copyright 2022 Google LLC
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */


#ifndef SKSL_WGSLCODEGENERATOR
#define SKSL_WGSLCODEGENERATOR

#include <string>

namespace SkSL {

class ErrorReporter;
struct NativeShader;
class OutputStream;
enum class PrettyPrint : bool;
struct Program;
struct ShaderCaps;

enum class IncludeSyntheticCode : bool {
    kNo = false,
    kYes = true,
};

using ValidateWGSLProc = bool (*)(ErrorReporter&, std::string_view wgsl, std::string* warnings);

/**
 * Convert a Program into WGSL code.
 */

bool ToWGSL(Program& program,
            const ShaderCaps* caps,
            OutputStream& out,
            PrettyPrint,
            IncludeSyntheticCode,
            ValidateWGSLProc);
bool ToWGSL(Program& program, const ShaderCaps* caps, OutputStream& out);
bool ToWGSL(Program& program, const ShaderCaps* caps, NativeShader* out);

}  // namespace SkSL

#endif  // SKSL_WGSLCODEGENERATOR

Messung V0.5 in Prozent
C=96 H=100 G=97

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-08-26) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.