#ifndef COMPILER_TRANSLATOR_TREEOPS_GLSL_USEINTERFACEBLOCKFIELDS_H_
#define COMPILER_TRANSLATOR_TREEOPS_GLSL_USEINTERFACEBLOCKFIELDS_H_
#include <GLSLANG/ShaderLang.h>
#include "common/angleutils.h"
#include "common/debug.h"
namespace sh
{
class TCompiler;
class TIntermBlock;
class TSymbolTable;
InterfaceBlockList;
#ifdef ANGLE_ENABLE_GLSL
[[nodiscard]] bool UseInterfaceBlockFields(TCompiler *compiler,
TIntermBlock *root,
const InterfaceBlockList &blocks,
const TSymbolTable &symbolTable);
#else
[[nodiscard]] ANGLE_INLINE bool UseInterfaceBlockFields(TCompiler *compiler,
TIntermBlock *root,
const InterfaceBlockList &blocks,
const TSymbolTable &symbolTable)
{
UNREACHABLE();
return false;
}
#endif
}
#endif