Intel® Graphics Performance Analyzers (Intel® GPA)
Improve your game's performance by quickly specifying problem areas
489 Discussions

C++ SDK help: Call to GetMetadataExtractor().GetResourceInfos() is returning empty

ktB
Novice
761 Views

Running the C++ sample code and GetResourceInfos() is returning nothing, even if I try to all the different usage types from ResourceInfo::Usage.  I let the code pick the middle frame in the stream and collect all draw calls (which it does just fine, non-empty array).  

I've tried the projects buffer-extraction and texture-extraction.

My stream path is to a short capture created by running the BasicHLSL DirectX11 example for a few seconds.  The stream itself loads up fine when I use the Intel Graphics Frame Analyzer program so I'm assuming my stream is not the problem.  I can see the draw calls, geometry input, shader code, etc.

Any suggestions would be appreciated.

0 Kudos
3 Replies
Pamela_H_Intel
Moderator
723 Views

Hello ktB,

Let me see if I understand correctly:

  • You captured a stream via GPA Framework
  • You can load the stream into Graphics Frame Analyzer, and pick a frame and see the data
  • But when you try to extract the frame data via GPA Framework, you get nothing

Is that all correct?

Also, some basic info may be helpful:

  • GPA Version (and GPA Framework version, if it's different)?
  • OS?
  • Graphics API?

Pamela

0 Kudos
ktB
Novice
714 Views

I was helped on the Intel Graphics discord.  Unfortunately, the API is not supported on DirectX11 so that was the end of that.

https://intel.github.io/gpasdk-doc/#features

0 Kudos
Pamela_H_Intel
Moderator
708 Views

Ah, right, DX11. Sorry it won't work for you. But thanks for letting me know. 

0 Kudos
Reply