Last Week on DirectX Shader Compiler (2017-11-14)

A great week for people who like to keep their bit widths in check.

  • ByteAddressBuffer gets new methods to work with 16, 32 and 64-bit values.
  • 16-bit ints means you can replace both int and float min* types explicitly now.
  • New types with specific bit widths: (u)int16_t, (u)int32_t, float16_t, float32_t and float64_t.
    • (u)int64_t has been around for a while ago.
  • Lots of SPIR-V work, of course, including viewport index support.
  • /od is now one of the /o[0-3] group. Whether debug information is produced or not depends on /Zi anyway; this really is just about how many optimizations to perform.


Skip to main content