Jump to content

  • Log In with Google      Sign In   
  • Create Account


DXGI_FORMAT question


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 trjh2k2   Members   -  Reputation: 101

Like
0Likes
Like

Posted 04 March 2012 - 10:26 PM

I'm new to this site, so forgive me if I'm posting this in the wrong place, or if it's been answered before, but I'm confused about something regarding DXGI_FORMATs and I figure someone here might know the answer.

When I create render targets (for shadow maps) I use DXGI_FORMAT_R16G16B16A16_UNORM, but when I create my swap chain, I'm passing R8G8B8A8 instead. Anything different fails. Is there a reason that I can't use anything other than DXGI_FORMAT_R8G8B8A8_UNORM to create a swapchain? I can't find any information about it anywhere, so maybe it's obvious and / or I'm doing something wrong.

-Tom

Sponsor:

#2 MJP   Moderators   -  Reputation: 10139

Like
0Likes
Like

Posted 05 March 2012 - 05:07 PM

Only a subset of formats support being used for display scan out. If you go to the DXGI overview in the docs, there is a table with supported formats for each feature level. You can also see the available output formats in the D3D caps viewer.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS