1 / 16

Debugging Direct3D in your app

Debugging Direct3D in your app. Rudolph Balaz Senior Program Manager 3-141. Introduction. This is a different type of presentation. Valuable for developers of all Direct3D expertise levels. Covering single most important developer feedback. Windows 8.1 Preview/Visual Studio 2013 Preview.

marja
Download Presentation

Debugging Direct3D in your app

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Debugging Direct3D in your app Rudolph Balaz Senior Program Manager 3-141

  2. Introduction • This is a different type of presentation. • Valuable for developers of all Direct3D expertise levels. • Covering single most important developer feedback. • Windows 8.1 Preview/Visual Studio 2013 Preview. • Foundation for solid/reliable graphics tools.

  3. Agenda • Preventing common errors. • Debugging your graphics. • Validating before release.

  4. Overview of key tools • Debug Layers. • Ships in Windows SDK. • Direct3D control panel. • Ships in Windows SDK. • Naming/tracing. • Used by debug layers and other tools. • WARP. • Ships in Windows/implements features before hardware. • Visual Studio graphics debugging.

  5. DemoDebug layers/DirectX CPL/WARP.Preventing common bugs.

  6. Demo: recap • Demo: • Debug layer validation. • Find memory leaks. • DirectX control panel. • Force feature level. • Common bugs. • How to use debug layers in your app. • “Templates/samples” now use layers for debug builds. • How to annotate your code for tools. • Name Direct3D objects. • Tag sequences of Direct3D APIs for future analysis. • Special advanced scenarios. • Multithreading—device is multithreaded, context is not.

  7. DemoDebugging your graphics.Visual Studio graphics debugging.

  8. Demo: recap • Demo: • Basic visual studio usage. • Performance improvements. • Pipeline. • Call stacks. • Shaderdebugging. • What is new. • More reliable and works with more types of applications. • Remote graphics debugging for ARM. • Capture/playback on different hardware. • Available in Visual Studio Express 2013 for Windows 8.1.

  9. DemoValidating your applications.Get your game running everywhere.

  10. Demo: recap • Discuss differences. • 10L9. • Normal map bias. • Gamma blending hardware. • Compressed textures. • Multiple monitors. • Demo use simulator for. • Display rotation. • Scale. • And DPI. • Hardware differences. • Key is testing. • Diverse set of hardware. • Use the simulators for hardware you don’t have.

  11. Summary • Use debug layers. • Preventing common errors early. • Annotate and name—do it now. • You will be glad you did it later. • Use Visual Studio graphics debugging. • Especially for that hard-to-repro problem. • Testing across all hardware types. • Test ever feature level and across hardware generations. • Use WARP for conformance and feature level testing.

  12. Other related talks

  13. Give us your feedback! • What? • Are you interested in having an impact on the future user experiences in Visual Studio? Come help us shape the future. • When & where? • Schedule a time with us vsdr@microsoft.com • Room 254 South Moscone, West Mezzanine Level • Why? • Your input and feedback will influence future Microsoft Visual Studio tools

  14. Required Slide *delete this box when your slide is finalized Your MS Tag will be inserted here during the final scrub. Evaluate this session • Scan this QR codeto evaluate this session and be automatically entered in a drawing to win a prize!

More Related