Jump to content
  • Advertisement
Sign in to follow this  
littlekid

DX11 BackBuffer format

This topic is 2884 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I was wondering, must the display format for the screen buffer be a fixed point target? Or can it be a floating point target?

for e.g in DX11 when creating the swap chain, it is possible to set the renderbuffer to be of type floating point (e.g DXGI_FORMAT_R16G16B16A16_FLOAT)?

(p.s I am not referring to off-screen rendering target which can be of floating point - e.g those used in HDR lighting, but I am referring to the one that is created by the swap chain for the backbuffer)

I was thinking that it probably would not make any sense to have a backbuffer that is of floating point format. Since I assume the screen/monitor front buffer is always in a fixed point format?

regards

Share this post


Link to post
Share on other sites
Advertisement
If you open up the caps viewer and go to DXGI 1.1 Devices->(your GPU)->Outputs->Display Modes you can browse all of the backbuffer formats available. As far as I know most recent GPU's support 1010102 and fp16 modes. But you're quite correct in that it won't matter unless your display can actually make use of the higher precision. There's actually a sample somewhere in the SDK that lets you switch backbuffer modes and see the difference, and I don't recall it ever making a difference for any of my monitors.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!