Cannot see HLSL code in GPA Frame Analyzer

Cannot see HLSL code in GPA Frame Analyzer

Hello,

thank you for providing GPA, it's a great useful piece of software.

I would like to inspect the HLSL code of my D3d11 applications in Windows 8.1 Desktop.

Unfortunately in GPA Frame Analyzer only the IL Assembly is available, if I select HLSL I get "HLSL Not Available".

I understood from the documentation that I should compile my shaders at run time, but it's what I'm already doing.

I tried tutorial 4 from

http://code.msdn.microsoft.com/windowsdesktop/Direct3D-Tutorial-Win32-829979ef

which builds the shaders at run time by calling D3DCompileFromFile with the D3DCOMPILE_DEBUG flag set.

I get the same result with my own code by compiling in memory with D3DCompile.

But if I analyse a frame of gpasample.exe included in the GPA directory, I can see the HLSL code without any problem.

I am compiling the samples using Visual studio 2013 Express Desktop.

 

Thank you for your help

 

11 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I forgot to mention that I am using GPA 13.3.207307

Thanks

Hi,

A couple of things... first of all, can you please include a copy of your configuration (right-click the Intel GPA Monitor, and copy the "About..." info here).

Next, are you using a specific version of DirectX?

Thanks!

Neal

Hello,

thanks for your reply.

Here is my configuration:

 DEP enabled
Num Processors: 8
Memory: 16275MB
System BIOS: American Megatrends Inc. 4.6.5 (01/24/2013)
Video BIOS: 05/22/20
Driver 0:
     Device: Intel(R) HD Graphics 4000
     Provider: Intel Corporation
     Date: 10-1-2013
     Version: 10.18.10.3316
     VendorId: 8086
     ProductId: 166
     Stepping: 9
     Supports GPA Instrumentation
GPA install directory: D:\Program Files\Intel\GPA\2013 R3\
GPA version: 13.3.207307
Current user is in Administrators group: YES
Current GPA 2013 R3 (13.3.207307)

I actually I have an Nvidia GTX 675MX chip as well with driver 331.58. I can choose on which one to run the applications, but I get the same result with both of them.

About my version of DirectX, I think I am using the WindowsSDK 8.1. My d3d11.h header file is contained in C:\Program Files (x86)\Windows Kits\8.1\Include\um

Please let me know if you need more information

Thank you

Riccardo

Hello,

I'm wondering if your app is attempting to use DX11.1 -- if so, Intel GPA does not support this API, so it's unclear how Intel GPA will handle this situation.

To see what API your frame capture file was created with, in Intel GPA Frame Analyzer look at the Help/System Information menu item after you have loaded the file.

Regards,

Neal

 

It should be DX11, in fact from the Help/System I got:

Intel® GPA Frame Analyzer
Copyright: © 2007-2013 Intel Corporation. All rights reserved.
Version: 13.3.207307
Host IP: 127.0.0.1

Capture File
File Name: C:\Users\Riccardo\Documents\GPA_2013_R3\Tutorial04_2013_12_05__23_44_45_162.gpa_frame
App Name: Tutorial04.exe
Graphics API: DX11
Frame Number: 3675
File Size: 4.2 MB

Information of the System on which the Frame was Captured
File Capture Date: 2013/12/5
Windows 8, 64-bit DEP enabled
Num Processors: 8
Memory: 16275MB
System BIOS: American Megatrends Inc. 4.6.5 (01/24/2013)
Video BIOS: 05/22/20
Driver 0:
     Device: Intel(R) HD Graphics 4000
     Provider: Intel Corporation
     Date: 10-1-2013
     Version: 10.18.10.3316
     VendorId: 8086
     ProductId: 166
     Stepping: 9
     Supports GPA Instrumentation
(GPA software not installed)
Current user is in Administrators group: YES

Playback System Information
 DEP enabled
Num Processors: 8
Memory: 16275MB
System BIOS: American Megatrends Inc. 4.6.5 (01/24/2013)
Video BIOS: 05/22/20
Driver 0:
     Device: Intel(R) HD Graphics 4000
     Provider: Intel Corporation
     Date: 10-1-2013
     Version: 10.18.10.3316
     VendorId: 8086
     ProductId: 166
     Stepping: 9
     Supports GPA Instrumentation
GPA install directory: D:\Program Files\Intel\GPA\2013 R3\
GPA version: 13.3.207307
Current user is in Administrators group: YES

Thanks

Hi,

If you want, please send me the frame capture file so I can take a look at it.

thanks!

Neal

ps-> either include it here in the forum, or use the "private message" facility to get a copy to me

Hello,

With the help you've provided, I've been able to duplicate the issue on my system. I've submitted a defect ticket, and the development team is looking into the cause and solution to this issue.

Regards,

Neal

I'm pleased that my post will benefit those users of GPA who are experiencing my same issue as well.

Thank you again for your help, Neal, and thanks for GPA

Hello,

No word back yet from the development team on an ETA for a fix. I'll keep you posted on our progress with this.

Regards,

Neal

Hi,

Still tracking this...

Regards,

Neal

Leave a Comment

Please sign in to add a comment. Not a member? Join today