Files
UnrealEngineUWP/Engine/Source/Runtime/UtilityShaders/Private/ResolveShader.cpp
Josh Adams 3665f273d9 Move some utility shaders to a new module - UtilityShaders (which the RHIs that need them now depend on)
#codereview nick.penwarden

[CL 2441740 by Josh Adams in Main branch]
2015-02-11 11:27:38 -05:00

17 lines
771 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "UtilityShadersPrivatePCH.h"
#include "ResolveShader.h"
#include "ShaderParameterUtils.h"
IMPLEMENT_SHADER_TYPE(, FResolveDepthPS, TEXT("ResolvePixelShader"), TEXT("MainDepth"), SF_Pixel);
IMPLEMENT_SHADER_TYPE(, FResolveDepthNonMSPS, TEXT("ResolvePixelShader"), TEXT("MainDepthNonMS"), SF_Pixel);
IMPLEMENT_SHADER_TYPE(, FResolveSingleSamplePS, TEXT("ResolvePixelShader"), TEXT("MainSingleSample"), SF_Pixel);
IMPLEMENT_SHADER_TYPE(, FResolveVS, TEXT("ResolveVertexShader"), TEXT("Main"), SF_Vertex);
void FResolveSingleSamplePS::SetParameters(FRHICommandList& RHICmdList, uint32 SingleSampleIndexValue)
{
SetShaderValue(RHICmdList, GetPixelShader(),SingleSampleIndex,SingleSampleIndexValue);
}