CodeXLAnalyzer.exe command line tool supports compilation and statistics generation OpenGL and Vulkan programs.
Details of available commands:
Details of available commands: |
|||
-h |
View available options |
||
CodeXLAnalyzer.exe -h |
|||
|
|||
-s |
Specify the source platform for the compilation. |
||
CodeXLAnalyzer.exe -s opengl CodeXLAnalyzer.exe -s vulkan |
|||
|
|||
-s <platform> -l |
View supported ASICS for DirectX (also- this is default ASICs list for compilation) |
||
|
|||
--isa arg |
Path to output ISA disassembly file(s). |
||
Full path to vertex shader’s location |
|||
--tesc <arg> |
|||
--tese <arg> |
Full path to tessellation evaluation shader’s location |
||
--geom <arg> |
Full path to geometry shader’s location |
||
--frag <arg> |
Full path to fragment shader’s location |
||
-c [ --asic ] arg |
By default, compilation will be done to all default available devices This option is repeatable.
|
||
|
|||
|
|||
-a [ --analysis ] |
Path to the performance statistics output file. Requires compilation. |
||
|
|
||
--version |
View the Catalyst driver version installed |
||
CodeXLAnalyzer_d.exe -s opengl –version |
|||
|
Usage examples:
1. To build an OpenGL program with a vertex shader and a fragment shader attached and generate ISA
CodeXLAnalyzer.exe -s opengl --vert c:\shaders\glVertex.vert --geom c:\shaders\glGeom.geom --isa c:\output\myISA.txt
2. To build an Vulkan program with a vertex shader and a geometry shader attached, and generate ISA and performance statistics
CodeXLAnalyzer.exe -s vulkan --vert c:\shaders\vkVertex.glsl --geom c:\shaders\vkGeom.geom --isa c:\output\myISA.isa –a c:\output\myStats.txt