- I'm clearing the backbuffer to a different color every frame and that is properly flickering
- PIX shows that there is output to the viewport as you can see in the image
- None the less it appears no pixels are being written to the backbuffer
Any ideas? Thanks!
DX9 -> Dx11 Port... Nothing being drawn?
Wait a minute isn't there supposed to be a rectangle in PIX representing the viewport?
I guess that means I'm way off!
I guess that means I'm way off!
SOLVED:
If anyone else is having this problem ... you want to make sure you see the viewport outline in pix. The vertex values after transforms were correct in taht they should be displayed on screen. But the viewport structure itself wasn't properly setup (D3D11_VIEWPORT and RSSetViewports) it was set to 0 pixels X 0 pixels due to the fact that setting up the backbuffer is somewhat of a special case because you have to grab it from the swap chain.
Thanks.
If anyone else is having this problem ... you want to make sure you see the viewport outline in pix. The vertex values after transforms were correct in taht they should be displayed on screen. But the viewport structure itself wasn't properly setup (D3D11_VIEWPORT and RSSetViewports) it was set to 0 pixels X 0 pixels due to the fact that setting up the backbuffer is somewhat of a special case because you have to grab it from the swap chain.
Thanks.
You rock! You're quite correct there should be a box to show the viewport - good thing you noticed it was missing!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement