Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

How do you view the asm code of your hlsl code?

$
0
0
How do you view the assembly code of your hlsl code? I am using visual studio 2017 and an nvidia graphics card. I tried looking in the visual studio graphics analyzer ("debug - graphics - start graphics debugging" from visual studio opens that) but where I would expect it to be it says "Enable GPU disassembly via View->Options->Graphics Diagnostics->Enable gather of GPU Disassembly. The vsglog must be re-opened for this change to take effect." However that isnt an option you can select. I would actually prefer a way to view the asm without having to capture a frame, as my program doesnt do well in the visual studio graphics analyzer When I try to playback a captured frame I get "An error has occured. Playback of your application may be incomplete (HRESULT = 0x00630000)" However I am able to play back captured frames of the microsoft samples, but I am still not able to see asm code with them.

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>