Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Graphics Diagnostics VS2012 question

4: Adsense

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
5 replies to this topic

#1 lomateron   Members   

491
Like
0Likes
Like

Posted 01 March 2013 - 02:59 PM

I want to see the pixel history of a 2DTexture R32G32B32A32 that is a render target and shader resource

Does someone knows how to do this?

 

The texture that is bound to the swap chain is the only one I know how to see the pixel history


Edited by lomateron, 01 March 2013 - 03:00 PM.


#2 Ravyne   Members   

14291
Like
0Likes
Like

Posted 01 March 2013 - 08:02 PM

Unfortunately I don't think there's a way to accomplish this directly, due to the way that the diagnostics capture works. If you can't figure it out via other means, can you modify your code so that the texture in question is bound to the swap chain? As far as I'm aware, that's the only way to get the pixel history.


throw table_exception("(ノ ゜Д゜)ノ ︵ ┻━┻");


#3 Adam_42   Members   

3586
Like
0Likes
Like

Posted 02 March 2013 - 07:54 PM

If you use the standalone PIX tool instead of the one built in to VS I know it will let you debug pixels on any render target, so it's certainly not impossible to do.

 

I've not successfully used the one built in to 2012 at all though so I can't help there.


Edited by Adam_42, 02 March 2013 - 07:55 PM.


#4 MJP   Moderators   

19459
Like
0Likes
Like

Posted 02 March 2013 - 10:38 PM

Just bring up the Graphics Event List, and find a draw call where you render to that render target. When you click on the draw call the render target will pop up in the main view for the graphics expiement, and you can right-click on it to bring up the pixel history.


Edited by MJP, 02 March 2013 - 10:39 PM.


#5 Fredericvo   Members   

1709
Like
0Likes
Like

Posted 04 March 2013 - 08:46 AM

Is  it me or that Graphics Event List thingy is not available in Visual Studio 2012 EXPRESS versions?



#6 Yourself   Members   

1935
Like
0Likes
Like

Posted 04 March 2013 - 09:47 AM

Is  it me or that Graphics Event List thingy is not available in Visual Studio 2012 EXPRESS versions?

 

Graphics debugging is not supported in the express versions






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.