30 lines
734 B
C++
30 lines
734 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "ShaderCompilerCommon.h"
|
|
#include "MetalShaderCompiler.h"
|
|
#include "HlslccHeaderWriter.h"
|
|
#include "HlslccDefinitions.h"
|
|
#include "MetalShaderFormat.h"
|
|
|
|
#if UE_METAL_USE_METAL_SHADER_CONVERTER
|
|
|
|
class FMetalCompileShaderMSC
|
|
{
|
|
public:
|
|
static void DoCompileMetalShader(
|
|
const FShaderCompilerInput& Input,
|
|
FShaderCompilerOutput& Output,
|
|
const FString& InPreprocessedShader,
|
|
uint32 VersionEnum,
|
|
EMetalGPUSemantics Semantics,
|
|
uint32 MaxUnrollLoops,
|
|
EShaderFrequency Frequency,
|
|
bool bDumpDebugInfo,
|
|
const FString& Standard,
|
|
const FString& MinOSVersion);
|
|
};
|
|
|
|
#endif
|