Merge pull request #1763 from Azaezel/linearBuffers

banding: conforms misbehaving postfx to the hdr buffer format
This commit is contained in:
Anis 2016-09-17 21:31:31 +02:00 committed by GitHub
commit 9cb413a38d
5 changed files with 5 additions and 3 deletions

View file

@ -1321,7 +1321,7 @@ DefineEngineFunction( getBestHDRFormat, GFXFormat, (),,
// Figure out the best HDR format. This is the smallest
// format which supports blending and filtering.
Vector<GFXFormat> formats;
formats.push_back( GFXFormatR10G10B10A2 );
//formats.push_back( GFXFormatR10G10B10A2 ); TODO: replace with SRGB format once DX9 is gone - BJR
formats.push_back( GFXFormatR16G16B16A16F );
formats.push_back( GFXFormatR16G16B16A16 );
GFXFormat format = GFX->selectSupportedFormat( &GFXDefaultRenderTargetProfile,