DirectX Developer Blog

The latest news on Microsoft's Graphics and Display technology

Latest posts

Optimizing hybrid laptop performance with Cross Adapter Scan-Out (CASO)
Sep 25, 2023
Post comments count 31
Post likes count 8

Optimizing hybrid laptop performance with Cross Adapter Scan-Out (CASO)

Neeraj Gera James O'Connor Chinmay Wadgaonkar
Neeraj,
James,
Chinmay

Introduction For an avid gamer, having a robust Graphics Processing Unit (GPU) is non-negotiable for an optimal gaming experience. Hybrid laptops, equipped with both an integrated GPU (iGPU) and a discrete GPU (dGPU), have become a popular choice for many. If you've delved into maximizing your laptop gaming performance, you've undoubtedly heard of specialized hardware solutions like NVIDIA’s Advanced Optimus or AMDs Smart Access Graphics. But what if your laptop lacks these dedicated features? That's where DirectX's Cross Adapter Scan-Out (CASO) comes into play. Without the need for specialized hardware solutio...

HLSL 2021 Migration Guide
Aug 14, 2023
Post comments count 0
Post likes count 0

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 these features in Chris Bieneman's dog-themed blog post. This post documents the gotchas that you might encounter when compiling your existing shaders with HLSL 2021 to benefit from all this goodness. Specifically, it will focus on: To explain these cha...

D3D12 Work Graphs Preview
Jun 22, 2023
Post comments count 6
Post likes count 8

D3D12 Work Graphs Preview

Amar Patel Tex Riddell
Amar,
Tex

Work Graphs is now out of preview. See the launch blog here Contents Introduction to work graphs Work graphs are a system for GPU autonomy in D3D12. Given the increasing prevalence of general compute workloads on GPUs, the motivation is to address some limitations in their programming model, unlock latent GPU capabilities, and enable future evolution. To start, here are some words on the potential: Epic Games has been searching and advocating for a better solution to the GPU generated work problem for a while now. ...

Agility SDK 1.711.3-preview: Work Graphs, Wave Matrix, AV1 Encoding
Jun 22, 2023
Post comments count 0
Post likes count 1

Agility SDK 1.711.3-preview: Work Graphs, Wave Matrix, AV1 Encoding

David Cook Tex Riddell Sil Vilerino
David,
Tex,
Sil

Hi everyone, Today we’re excited to announce the newest Preview Agility SDK v1.711.3 download; This SDK previews three new features for developers to discover.  First is Work Graphs, a new way for the GPU to create work for itself.  Second is Wave Matrix support, which allows developers to take advantage of dedicated silicon to speed matrix multiplications commonly used in Machine Learning (ML) and Imaging applications.  Finally, we have support for encoding AV1 video on GPUs drastically reducing encoding time. Note that this is a preview SDK, which means not all features are representative of their fina...

OpenGL® on DX12 enables STEEL ASSAULT to launch on Xbox
Jun 16, 2023
Post comments count 1
Post likes count 1

OpenGL® on DX12 enables STEEL ASSAULT to launch on Xbox

David Cook
David Cook

When we initially introduced our DirectX mapping layers, our goal was to enable applications written in other graphics APIs, including DX9, DX11 and OpenGL, to run on DirectX12 systems if a native driver is not available. We’ve written about the OpenGL mapping layer previously and how we developed it by contributing OpenGL on DX12 (GLon12) to the Mesa 3D open-source project, allowing the graphics community to leverage our work for their needs.  This open development approach has proven beneficial for GLon12, with the engagement exceeding our expectations, adding Xbox GDK support to the Mesa project in 2022. On...

DirectML at Build 2023
May 25, 2023
Post comments count 0
Post likes count 4

DirectML at Build 2023

Adele Parsons
Adele Parsons

DirectML shared some exciting announcements at Build this year! We demonstrated a few awesome demos and highlighted new capabilities during the Windows AI Breakout session, Deliver AI-powered experiences across cloud and edge, with Windows. We are also excited to announce the launch of our new product landing page! This new product page provides the information you need to bring performant, cross-hardware AI acceleration into your app. DirectML enables Adobe to scale to Intel’s first VPU to market We partnered with Adobe and Intel to showcase how DirectML makes it possible for developers to integrate machine...

Adobe Premiere Pro leverages DirectML on new AI Silicon
May 24, 2023
Post comments count 0
Post likes count 2

Adobe Premiere Pro leverages DirectML on new AI Silicon

Jonah Dykhuizen
Jonah Dykhuizen

DirectML is ushering in a new wave of machine learning integration capabilities on emerging AI silicon. At the Windows AI Breakout BUILD session, we showcased how ONNX Runtime, powered by DirectML, enables Adobe’s Premiere Pro to leverage Intel’s next generation platform, Meteor Lake with integrated VPU.    Adobe Premiere Pro with DirectML  Adobe Premiere Pro leverages DirectML today to power many features with AI, such as Auto Reframe and Scene Edit Detection:  DirectML with ONNX Runtime empowers Adobe to light up hardware acceleration for these features, with the same code path acro...

Optimize DirectML performance with Olive
May 23, 2023
Post comments count 0
Post likes count 5

Optimize DirectML performance with Olive

Adele Parsons
Adele Parsons

Are you ready to revolutionize the way you optimize your AI models? Say hello to Olive (ONNX Live), the advanced model optimization tool that integrates seamlessly with DirectML for hardware acceleration across the breadth of the Windows ecosystem.  With Olive, you can easily incorporate cutting-edge techniques like model compression, optimization, and compilation, all in one powerful tool. And the best part? You don't need to be an expert in optimizing models for underlying GPUs or NPUs - Olive does all the heavy lifting for you to get the best possible performance with DirectML!  In our Stable Diffusion tes...

DirectML ❤ Stable Diffusion
May 23, 2023
Post comments count 2
Post likes count 2

DirectML ❤ Stable Diffusion

Jacques van Rhyn
Jacques van Rhyn

Text-to-image models are amazing tools that can transform natural language into stunning images. Stable Diffusion is particularly interesting: the base model can create images from text and, since it’s open-source, developers can customize it for their own needs and preferences. With some extra training, developers can fine-tune their model to generate images of any domain, subject, or style they want. We are demonstrating what can be done with Stable Diffusion models in two of our Build sessions tomorrow: Shaping the future of work with AI and Deliver AI-powered experiences across cloud and edge, with Windows...