microsoft / GDK

Microsoft Public GDK
http://aka.ms/gamedevdocs
Other
1.48k stars 99 forks source link

[Graphics] Instrumenting PC titles with PIX events requires the WinPixEventRuntime package #15

Closed FLY1NGSQU1RR3L closed 2 years ago

FLY1NGSQU1RR3L commented 2 years ago

Workaround To instrument your Windows PC title with PIX events, you must use the following steps:

  1. Download and install the WinPixEventRuntime NuGet package.
  2. Include ix3.h from that NuGet package. Note that the Windows 10 SDK contains a pix.h header. However, the file is now obsolete and can’t be used in gaming titles on Windows PCs. The project templates that are included in the GDK include pix.h by default. pix.h must be changed to pix3.h after the WinPixEventRuntime NuGet package is downloaded