HLSL Specifications

Design Meeting Minutes: 2025/02/04

NOTE: Please read the terms of participation (“Terms”) prior to joining the Teams meeting. You joining the Teams meeting with Microsoft indicates your acknowledgement, agreement, and consent to these Terms. If you do not agree to these Terms, please do not join the meeting.

If you intend to contribute code or other copyrightable materials (e.g. written comments, tools, documentation, etc.) to the hlsl specs repository, you are required to sign a Contributor License Agreement (CLA). For details, visit https://cla.microsoft.com.

Administrivia

  • No topics

Issues

  • No marked issues
  • Action Item: @llvm-beanz to review issues for HLSL 202x

PRs

Carried Forward

Current Business

Other Discussion

  • Effects Syntax support in HLSL 202x
    • We have an issue to turn effects syntax usage into errors in HLSL 202x - [202x] Remove HLSL Effects Syntax Support
    • This will potentially cause some source breakage for codebases that are shared between DX 10/11 and DX 12.
    • There is at least one known case where DXC assumes valid C++11 syntax is an effects annotation (C++-style initialization of vectors (int2 x{0,1}) does not work, but compiles).
    • Today, DXC ignores the effects annotation, which seems to users to be ignoring a valid intializer.
    • This syntax is C++11 initialization syntax that is not intended to be supported in DXC (which is C++98-based), but will be supported in Clang.
    • Proposed Solution:
      • In DXC: Make all effects syntax parsing errors in HLSL 202x mode.
      • In Clang: Make any effects-like syntax that is valid in modern C++ warn that it is a 202y extension.