Jump to content
  • Advertisement
Sign in to follow this  
Abominacion

Creating multiple typed views from the backbuffer

This topic is 1241 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 all,

 

I want to create sRGB and regular views (both render targets and shader resources) from the swap chain's backbuffer, although I suspect there are no legal ways of doing it.

 

Thing is, you cannot create a swap chain with a typeless backbuffer format (which should be a prerequisite for creating multiple typed views), but, I am able to create a swapchain with a R8G8B8A8_UNORM_SRGB backbuffer and, from that, to create R8G8B8A8_UNORM views on my venerable GTX260 even though that's illegal under the DirectX standard (it errors under the debug runtime).

 

So I'd like to hear from other people whether this "feature" is reliable enough to ship a product with or just a happy glitch of my particular vendor/card/driver combination.

 

Cheers

Edited by Abominacion

Share this post


Link to post
Share on other sites
Advertisement
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!