Creating multiple typed views from the backbuffer

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 know whether this “feature” is reliable enough to ship a product with or just a happy glitch of my particular vendor/card/driver combination.

Cheers