cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

particlepeter
Adept II

CodeXLAnalyzer: Warning: IL code generation for DX is currently not supported. --il command line switch will be ignored.

I am trying to generate IL code from HLSL Shaders with this command:

CodeXLAnalyzer.exe -c Hawaii -f VShader -s HLSL -p vs_5_0 --il vs_il.txt vs.hlsl

and I get the warning presented in the discussion topic and no output file.

This functionality seems to be removed, which was the latest CodeXLAnalyzer version which included this generator?

Is there any other way to get the IL representation generated?

Regards, ParticlePeter

1 Solution
dorono
Staff

Hi ParticlePeter,

Sorry, viewing the generated IL is supported only for OpenCL kernels. This capability was never a part of any version of CodeXL.

For DirectX shaders, you can view the D3D ASM code generated by the Microsoft DirectX compiler if you build your shader using the CodeXL GUI application, but not the AMD IL code.

Doron

View solution in original post

0 Likes
1 Reply
dorono
Staff

Hi ParticlePeter,

Sorry, viewing the generated IL is supported only for OpenCL kernels. This capability was never a part of any version of CodeXL.

For DirectX shaders, you can view the D3D ASM code generated by the Microsoft DirectX compiler if you build your shader using the CodeXL GUI application, but not the AMD IL code.

Doron

0 Likes