Files
UnrealEngineUWP/Engine/Source/Developer/VulkanShaderFormat/Private/VulkanShaderFormat.h
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

32 lines
790 B
C

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "hlslcc.h"
enum class EVulkanShaderVersion
{
ES3_1,
SM4_UB,
ES3_1_ANDROID,
SM4,
SM5,
};
extern void CompileShader_Windows_Vulkan(const struct FShaderCompilerInput& Input,struct FShaderCompilerOutput& Output,const class FString& WorkingDirectory, EVulkanShaderVersion Version);
// Hold information to be able to call the compilers
struct FCompilerInfo
{
const struct FShaderCompilerInput& Input;
FString WorkingDirectory;
FString Profile;
uint32 CCFlags;
EHlslShaderFrequency Frequency;
bool bDebugDump;
FString BaseSourceFilename;
FCompilerInfo(const struct FShaderCompilerInput& InInput, const FString& InWorkingDirectory, EHlslShaderFrequency InFrequency);
};