From b4d3d3017640581c21b52a12413d3f074ab1c5c1 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Thu, 15 May 2025 02:57:47 +0000 Subject: Support the new CoopVec builtins (#7108) **NOTE: This is a breaking change for users who were using POC variant of DXC. In order to keep the compatibility, the users will have to use -capability hlsl_coopvec_poc to their command line. This PR adds a new capability "hlsl_coopvec_poc". When it is used, the HLSL for CoopVec will be emitted for the POC variant of DXC. When it is not used, the HLSL for CoopVec will be emitted for the DXC that officially supports the cooperative vector. --- docs/command-line-slangc-reference.md | 1 + docs/user-guide/a3-02-reference-capability-atoms.md | 15 +++++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/command-line-slangc-reference.md b/docs/command-line-slangc-reference.md index 9f5295470..f296a6f02 100644 --- a/docs/command-line-slangc-reference.md +++ b/docs/command-line-slangc-reference.md @@ -1075,6 +1075,7 @@ A capability describes an optional feature that a target may or may not support. * `metallib_3_1` * `hlsl_nvapi` * `hlsl_2018` +* `hlsl_coopvec_poc` * `vertex` * `fragment` * `compute` diff --git a/docs/user-guide/a3-02-reference-capability-atoms.md b/docs/user-guide/a3-02-reference-capability-atoms.md index 12cda6bed..116701119 100644 --- a/docs/user-guide/a3-02-reference-capability-atoms.md +++ b/docs/user-guide/a3-02-reference-capability-atoms.md @@ -7,12 +7,12 @@ Capability Atoms ### Sections: -1. [Targets](#Targets) -2. [Stages](#Stages) -3. [Versions](#Versions) -4. [Extensions](#Extensions) -5. [Compound Capabilities](#Compound-Capabilities) -6. [Other](#Other) +1. [Targets](#targets) +2. [Stages](#stages) +3. [Versions](#versions) +4. [Extensions](#extensions) +5. [Compound Capabilities](#compound-capabilities) +6. [Other](#other) Targets ---------------------- @@ -155,6 +155,9 @@ Versions `hlsl_2018` > Represet HLSL compatibility support. +`hlsl_coopvec_poc` +> Represet compatibility support for the deprecated POC DXC + `dxil_lib` > Represents capabilities required for DXIL Library compilation. -- cgit v1.2.3