AMD are showing off a little here, with an update to the Radeon GPU Analyzer open source project and it sounds great.

What is it?

Radeon GPU Analyzer (RGA) is our offline compiler and integrated code analysis tool, supporting the high-level shading and kernel languages that are consumed by DirectX® 11, Vulkan®, OpenGL® and OpenCL™, including HLSL, GLSL, the OpenCL kernel language, and SPIR-V™. RGA lets you write and edit shader or kernel programs, and then analyse the generated machine ISA for a wide range of supported AMD GPUs, showing you the isolated cost of a particular program as you develop it, to help you understand and fine-tune it for the target GPU you care about.

Version 2.1 was announced yesterday, which brings up additional Vulkan support for this application. Now, it actually supports Vulkan in the GUI making working with it for developers a whole lot easier to deal with. On top of that it also adds: the ability to compile SPIR-V binaries, GLSL source code or mix of them in a single pipeline; detailed information about build errors by enabling the Vulkan validation layers and more.

They've also improved their OpenGL support for the command-line tool to support Vega targets and generate AMDIL disassembly for OpenGL shaders.

The important bit, the Radeon GPU Analyzer does support Linux too with Ubuntu 18.04 and RHEL 7 mentioned.

You can find their announcement here along with the code on GitHub.