Last Week on DirectX Shader Compiler (2017-07-26)

A lot of activity this last week, as usual here are some highlights. Some dia improvements, including the ability to dump debug info in dndxc and to compiler using d3dcompiler_47. More PIX supporting functionality available. Lots of linker improvements. Lots of SPIR-V code generation activity, including full translation for pass-through VS and constant PS. Also,…

0

GPUs in my task manager

Bryan Langley has posted about GPUs in the task manager. Definitely worth reading, as there are a number of reasonable but non-obvious decisions on how to best display aggregate data, and when shared resources are counted multiple times or not. Also having the driver version and DirectX version handily under the charts is very convenient,…

0

Last Week on DirectX Shader Compiler (2017-07-18)

Lots and lots of fixes coming in lately, and some interesting highlights. More functionality for PIX use cases. Better support in some transforms to better deal with libraries of shaders. More rewriter flags to help with generating headers #includes that pull in code. Also, the dxil-2017-06 branch will likely go through some renames, as the…

0

Custom Memory Allocation in dxcompiler

This post describes the implementation of the custom memory allocator in dxcompiler. At some point, the information here will likely make it into the repo itself along with other design notes. Motivation The DirectX Shader Compiler is mostly meant for offline usage, that is, compiling during the build process and not while the game or…

0

Two Weeks of DirectX Shader Compiler (2016-06-20)

What’s been going on recently? For one thing, lots of paying attention to the DXIL validation version. This is important because it sets the constraints that have been applied to a given compiled shader. Once we release a new dxil.dll version, this becomes less of a concern as we need not maintain compatibility with prior…

0

Last Week on DirectX Shader Compiler (2017-06-06)

The highlights are a number of test improvements as well as the following. A new lower static global to allocas pass is available. This is used in the compilation pipeline when optimizations are enabled. The first set of design notes for SV_ViewID is now available in the Wiki. We’ll have more notes and tests as runtime…

0

Precise and IEEE Strictness in HLSL

Last week on HLSL there was relatively little activity, given the Memorial Day weekend and the awesome weather we had in Seattle. However, there were a few changes related to precise that I thought were worth commenting on. First, ‘precise’ doesn’t do anything to the numerical precision of any one operation. Instead, it indicates that…

0

Last Week on DirectX Shader Compiler (2017-05-24)

Last week we had bug fixes as codegen cleanup as pretty much every week, including a bunch of work on ViewID. We also improved support for external libraries, which you can now configure in dndxc via the Tools | Options menu, as well as specify via command-line arguments to dxopt. Two other interesting changes are…

0

Last Week on DirectX Shader Compiler (2017-05-16)

In addition to a whole bunch of fixes and improvements, last week was interesting because we saw the dxil-v1.1 branch come and go. We used the branch to build up some changes related to SV_ViewID that required some massaging to work with the validator made available in the Windows SDK, which is the set of…

0

Last Week on DirectX Shader Compiler (2017-05-09)

As per usual, lots of good stuff went in. Improved versioning; more components are starting to become aware (version-aware, that is, not the other kind), as we’d expect while we continue making progress while maintaining back compat. SPIR-V work continues. Fixes and codegen improvements. These are all very specific so they don’t always have a…

0