Showing results for HLSL - DirectX Developer Blog

May 30, 2025
Post comments count2
Post likes count3

D3D12 Shader Execution Reordering

Amar Patel
Amar Patel

Shader Execution Reordering (SER) is an addition to DirectX Raytracing that enables application shader code inform hardware how to find coherency across rays so they can be sorted to execute better in parallel. At GDC 2025 DXR 1.2 was announced including SER, and you can see it discussed in this: GDC DirectX State Of The Union YouTube Record...

May 27, 2025
Post comments count0
Post likes count2

HLSL Native and Long Vectors

Greg Roth
Greg Roth

Vectors have been supported as native primitive types in HLSL from the beginning. However, they have been limited to a maximum of 4 elements. This was reasonable for the use cases for which HLSL was designed as 3D vertices, 3D vectors, and RGBA colors can be fully represented using 4 scalar values or fewer. There are other applications in the ma...

May 28, 2024
Post comments count0
Post likes count1

DXC 1.8.2405 Available Now, Including HLSL 202x

Chris Bieneman
Chris Bieneman

The HLSL team is excited to announce DXC 1.8.2405 which is a packed release! In addition to a healthy assortment of bug fixes and quality of life improvements, this release features two things we’re really excited about. First this is the first DXC release to contain Windows binaries built with Clang alongside the binaries built with MSVC, and it i...

Mar 11, 2024
Post comments count3
Post likes count5

D3D12 Work Graphs

Amar Patel Tex Riddell
Amar,
Tex

This is the official release of D3D12 Work Graphs, enabling new types of GPU autonomy, originally available as a preview in 2023. To start, here's what Epic sees: With the proliferation of GPU-driven rendering techniques - such as Nanite in Unreal Engine 5 - the role of the CPU is trending towards primarily resource management and hazard ...

DirectXDirect3D12DirectX12
Aug 14, 2023
Post comments count0
Post likes count0

HLSL 2021 Migration Guide

Greg Roth
Greg Roth

The DirectX Shader Compiler Summer 2023 release is live! The most significant change in this release is the enabling of the HLSL 2021 language version by default. HLSL 2021 includes templates, operator overloads, bitfields, short-circuiting, and modernizations to loop variable scope and implicit struct casting. You can read about the details of the...