Hash :
df90bbc5
Author :
Date :
2024-07-12T18:04:53
Refactoring: move angle::HashMap and HashSet to own header Underlying abseil includes pull in a large set of headers Bug: angleproject:42266508 Change-Id: Icee47143a8a59bb0795a054b67c0aa4ddcfca4d4 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5704137 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
//
// Copyright 2021 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.
//
// OutputSPIRV: Generate SPIR-V from the AST.
//
#ifndef COMPILER_TRANSLATOR_SPIRV_OUTPUTSPIRV_H_
#define COMPILER_TRANSLATOR_SPIRV_OUTPUTSPIRV_H_
#include "common/hash_containers.h"
#include "compiler/translator/Compiler.h"
namespace sh
{
bool OutputSPIRV(TCompiler *compiler,
TIntermBlock *root,
const ShCompileOptions &compileOptions,
const angle::HashMap<int, uint32_t> &uniqueToSpirvIdMap,
uint32_t firstUnusedSpirvId);
} // namespace sh
#endif // COMPILER_TRANSLATOR_SPIRV_OUTPUTSPIRV_H_