Moving RHIIsTypedUAVLoadSupported and RHIIsTypedUAVStoreSupported out of FDynamicRHI. New versions now use TextureFormat Capability flags.

#jira none
#rb mihnea.balta
#preflight 61ba46c8055f3013459a5b62

#ROBOMERGE-AUTHOR: christopher.waters
#ROBOMERGE-SOURCE: CL 18476758 in //UE5/Release-5.0/... via CL 18481366
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18481459 by christopher waters in ue5-release-engine-test branch]
This commit is contained in:
christopher waters
2021-12-16 19:29:23 -05:00
parent 4813e24b34
commit 0b0457558b
19 changed files with 19 additions and 68 deletions
@@ -538,16 +538,6 @@ void FD3D11DynamicRHI::SetupAfterDeviceCreation()
}
}
bool FD3D11DynamicRHI::RHIIsTypedUAVLoadSupported(EPixelFormat PixelFormat)
{
return EnumHasAllFlags(GPixelFormats[PixelFormat].Capabilities, EPixelFormatCapabilities::TypedUAVLoad);
}
bool FD3D11DynamicRHI::RHIIsTypedUAVStoreSupported(EPixelFormat PixelFormat)
{
return EnumHasAllFlags(GPixelFormats[PixelFormat].Capabilities, EPixelFormatCapabilities::TypedUAVStore);
}
void FD3D11DynamicRHI::UpdateMSAASettings()
{
check(DX_MAX_MSAA_COUNT == 8);
@@ -682,9 +682,6 @@ public:
virtual void RHICalibrateTimers() override;
virtual bool RHIIsTypedUAVLoadSupported(EPixelFormat PixelFormat) override;
virtual bool RHIIsTypedUAVStoreSupported(EPixelFormat PixelFormat) override;
// Accessors.
ID3D11Device* GetDevice() const
{