Initial support for Mesh and Amplification Shaders. These new shader types are an optional feature of the RHIs and are only enabled on PC D3D12 with Feature Level SM6.

#jira none
#rb emil.persson, graham.wihlidal, lukas.hermanns

[CL 15742432 by christopher waters in ue5-main branch]
This commit is contained in:
christopher waters
2021-03-18 18:42:49 -04:00
parent e4ee7ead0f
commit 1d0b1d44eb
61 changed files with 3546 additions and 872 deletions
@@ -1062,12 +1062,15 @@ void BuildMetalShaderOutput(
static const EHlslShaderFrequency FrequencyTable[] =
{
HSF_VertexShader,
HSF_InvalidFrequency,
HSF_InvalidFrequency,
HSF_HullShader,
HSF_DomainShader,
HSF_PixelShader,
HSF_InvalidFrequency,
HSF_ComputeShader
};
static_assert(SF_NumStandardFrequencies == UE_ARRAY_COUNT(FrequencyTable), "NumFrequencies changed. Please update tables.");
FString CreateRemoteDataFromEnvironment(const FShaderCompilerEnvironment& Environment)
{