Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
21236 Discussions

Graphics Frame Analyzer does not support shaders compiled with DXC

Krull
Beginner
2,197 Views

It's not possible to profile shaders compiled with DXC, the profile button never appears and when looking under the Compiler flags drop down, it looks for this flag: 

D3DCOMPILE_OPTIMIZATION_LEVEL1, which is not a DXC flag.

 

The old D3d compiler is very old and does not support the latest shader models, so please add support for DXC and shader model 6.5 and above

 

 

0 Kudos
4 Replies
DeividA_Intel
Employee
2,171 Views

Hello Krull,  


  

Thank you for posting on the Intel® communities. I am sorry to know that you are having issues with the Graphics Frame Analyzer.

  


In order to better assist you, please try the following:  



1. Can you provide more details about your issue?

2. What is the brand and model name of your processor?

3. Are you working on a project or developing software?

4. Can you take a video or picture where we can see the issue?



Regards,  

Deivid A.  

Intel Customer Support Technician  


0 Kudos
DeividA_Intel
Employee
2,159 Views

Hello Krull,  


  

Were you able to check the previous post and get the information requested? Please let me know if you need more assistance.   


  

Regards,  

Deivid A.  

Intel Customer Support Technician  


0 Kudos
Krull
Beginner
2,153 Views

1. Can you provide more details about your issue?

I am using the latest version of the Frame Analyzer: gpa_22.2.1654744802_release-external_x64_standalone

When you compile a shader with debug information, there suppose to be a profile button. As you can see in Part 7: Inspect a Draw call

But I cannot get any profile information when I compile the HLSL shaders with DXC.

Krull_0-1660290125575.png

 

2. What is the brand and model name of your processor?

Intel HD Graphics 630

3. Are you working on a project or developing software?

We are developing a game and would like to profile our shaders using an Intel GPU

4. Can you take a video or picture where we can see the issue?

I have compiled our shaders with DXC, with compile information turned on. Using Shader model 6.5.

These flags are used during compilation: 

-Zi           // DEBUG
-Zss      // DEBUG_NAME_FOR_SOURCE
-Od     // SKIP_OPTIMIZATIONS
-Qembed_debug // Embed PDB in shader container
 
But as you can see in the image, no profile button appears:
Krull_1-1660290342050.png

 

When looking under the Compiler Flags dropdown. It so looking for the wrong flags, D3DCOMPILE_OPTIMIZATION_LEVEL1 is for the old compiler, D3DCOMPILE, not DXC

 

Krull_2-1660290575682.png

 

 

0 Kudos
DeividA_Intel
Employee
2,133 Views

Hello Krull,  


 

Thanks for your response. After checking the information that you provided, I would like to let you know that we have a specific forum for this kind of issue and inquiries, it is called the Intel Developer Zone. There you will receive the appropriate support on this and other concerns you may have related to this situation.



Here you will find the links to access the website and the community forums:  



 

Please keep in mind that this thread will no longer be monitored by Intel.  


 

Regards,   

Deivid A.  

Intel Customer Support Technician  


0 Kudos
Reply