GDC is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

View, browse and sort the ever-growing list of sessions by pass type, topic, and format. With this Session Scheduler, you can build your schedule in advance and access it during the show via export or with the GDC Mobile App, once live. Sessions do fill up so please arrive early to sessions that you would like to attend. Adding a session to your schedule does not guarantee you a seat.

From Source to ISA: A Trip Down the Shader Compiler Pipeline (Presented by AMD)

Matthaeus Chajdas (Developer Technology Architect, AMD)

Nicolai Haehnle (SMTS Software Development Engineer, AMD)

Pass Type: All Access Pass, Core+Summits Pass, Core Pass, Summits Pass, Expo Plus Pass, Audio Pass, Independent Games Summit Pass, VRDC Add On - Get your pass now!

Format: Sponsored Session

Vault Recording: TBD

Audience Level: Intermediate

Shader compilers can be easily confused for dragons -- they devour innocent developers, and instead of optimal code, they spew fire. Only the toughest adventurers well versed in the arcane knowledge of how to tame them used to stand a chance. Until today! Together, we will uncover the dark secrets of the shader compiler and tame this fiery beast. Our journey will take us from the original source code down to the RDNA ISA. We'll leave no stone unturned when it comes to giving you a deep understanding of compilers. We will arm you with knowledge about control-flow, bindless resource access and scalarization which is directly applicable to problems you're facing daily at work. At the frontend, we will look at DXC and how it produces intermediate representations. At the backend, we will discuss the arts of instruction selection, scheduling, and register allocation for the RDNA instruction set. Throughout the whole trip, we will provide you with practical examples from real-world applications and look at them through the compiler's eyes. At the end, you will have a solid understanding of your shader compiler and write performant shaders with ease.


Audience level: Intermediate.