Hash :
21f16cb1
Author :
Date :
2023-06-09T17:30:38
Disable clang-format on ANGLE features autogen outputs Updates the script to produce reasonably formatted code without clang-format. Autogen files moved to autogen/ sub-directories because clang-format does not support per-file settings ;( This allows to run this codegen very quickly (~50ms on my machine) Bug: angleproject:8193 Change-Id: Ie84282090d574ebb4debe3edcfd82f983f27a5ff Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4604578 Commit-Queue: Roman Lavrov <romanl@google.com> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
//
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// CompilerGL:
// Implementation of the GL compiler methods.
//
#include "libANGLE/renderer/gl/CompilerGL.h"
#include "libANGLE/gles_extensions_autogen.h"
#include "libANGLE/renderer/gl/ContextGL.h"
#include "libANGLE/renderer/gl/FunctionsGL.h"
#include "platform/autogen/FeaturesGL_autogen.h"
namespace rx
{
CompilerGL::CompilerGL(const ContextGL *context)
: mTranslatorOutputType(GetShaderOutputType(context->getFunctions()))
{}
ShShaderOutput CompilerGL::getTranslatorOutputType() const
{
return mTranslatorOutputType;
}
} // namespace rx