Skip to content

Tags: microsoft/DirectXShaderCompiler

Tags

v1.8.2407

Toggle v1.8.2407's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix warning when use implicit launch type. (#6837) (#6841)

By default, the launch type should be set to ‘Broadcast’ when diagnosing
barriers. However, the current behavior sets the default launch type to
‘Invalid,’ resulting in warnings when the launch type is not explicitly
specified as an attribute.

To address this issue, we’ll adjust the default setting to ‘Broadcast’
and thereby resolve the problem.

Fixes #6836

---------

Co-authored-by: Damyan Pepper <[email protected]>
(cherry picked from commit ef043e9)

v1.8.2405-mesh-nodes-preview

Toggle v1.8.2405-mesh-nodes-preview's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add tests for literal overloads of fmod, length, and normalize (#6437) (

#6799)

Certain HL ops with no double overload will generate double overloads
for literal types. These are lowered to double DXIL overloads, some of
which are not legal for these ops. We currently rely on illegal
intermediate DXIL op overloads for constant evaluation. If constant
evaluation fails, we end up with illegal DXIL overloads in final DXIL,
which is caught by the validator.

The prior revert restored the ability to run these scenarios (with
asserts disabled).

This change adds tests for #6419 so automated testing will test across
configurations and prevent regressions of this scenario in this branch.

(cherry picked from commit 9c2b828)

Co-authored-by: Tex Riddell <[email protected]>

v1.8.2405

Toggle v1.8.2405's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Pix: Cope with group shared AS->MS payload (#6619)

This change copes with the AS->MS payload being placed in group-shared
by the application (and MSFT's samples do indeed do this). (TIL, thanks
to pow2clk, that the spec says that the payload counts against the
group-shared total, implying, if not explicitly stating, that at least
on some platforms, the payload will be in group-shared anyway.)

The MS pass needs to be given data from the AS about the AS's thread
group topology, and this is done by extending the payload struct to add
three uints. This can't be done when the payload is resident in
group-shared, of course, because that would change the layout of
group-shared memory.
So the new approach here is to copy the payload to a new alloca (in the
default address space) struct with the members of the base struct plus
the extended data the MS needs, and then to copy piece-wise because
llvm.memcpy isn't appropriate for group-shared-to-normal address space
copies.

v1.8.2403.2

Toggle v1.8.2403.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[Sema] Check FunctionDecl has identifier before getName. (#6439) (#6457)

Use identifier name without check the identifier exists will cause
crash.

Fixes #6426

---------

Co-authored-by: Tex Riddell <[email protected]>
Co-authored-by: github-actions[bot]
<github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 7581ff4)

v1.8.2403.1

Toggle v1.8.2403.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add tests for literal overloads of fmod, length, and normalize (#6437)

Certain HL ops with no double overload will generate double overloads
for literal types. These are lowered to double DXIL overloads, some of
which are not legal for these ops. We currently rely on illegal
intermediate DXIL op overloads for constant evaluation. If constant
evaluation fails, we end up with illegal DXIL overloads in final DXIL,
which is caught by the validator.

The prior revert restored the ability to run these scenarios (with
asserts disabled).

This change adds tests for #6419 so automated testing will test across
configurations and prevent regressions of this scenario in this branch.

v1.8.2403

Toggle v1.8.2403's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
CP: Use git rev-parse to get last commit sha (#6366) (#6375)

Do not use `git describe`, it is using tags which might be out of date
and unrelated to the current build and version.

(cherry picked from commit aaab2a7)

v1.7.2308

Toggle v1.7.2308's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix attribute collision for HL intrinsics (#5451) (#5543)

HL Intrinsic functions share declarations with those that match group
and function signature, regardless of the original intrinsic name. This
means that intrinsics with differing attributes can be collapsed into
the same HL functions, leading to incorrect attributes for some HL
intrinsics.

This fixes this issue by adding the attributes to the HL operation
mangling, the same way this issue was fixed for the HLWaveSensitive
attribute before.

Fixes #3505

---------

Co-authored-by: Joshua Batista <[email protected]>
(cherry picked from commit d9c07e9)

Co-authored-by: Tex Riddell <[email protected]>

v1.8.2306-preview

Toggle v1.8.2306-preview's commit message
Merged PR 5770: Remove extra space in sha value in latest-release.json

The versioning is broken if the extra space in there.

v1.7.2212.1

Toggle v1.7.2212.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #5067 from pow2clk/cp-release-1.7.2212

Move WinAdapter into interface directory (#5066)

v1.7.2212

Toggle v1.7.2212's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #4891 from hekota/cp-pix-and-hlk-changes

Cherry-pick of PIX and HLK changes for the 2212 release

Changes for PIX:
20bb3d0 PIX: Modify root sigs in place (plus fix root sig memory leak) (PIX: Modify root sigs in place (plus fix root sig memory leak) #4876)
2c3d965 dxcopt: Support full container and restore extra data to module (dxcopt: Support full container and restore extra data to module #4845)
21cf36a Fix hitgroup metadata argument order

HLK Test Updates:
ee0994e add barycentrics ordering check onto existing barycentrics test (add barycentrics ordering check onto existing barycentrics test #4635)
6acd11b ConvertFloat32ToFloat16: Use DirectXMath conversion functions (ConvertFloat32ToFloat16: Use DirectXMath conversion functions #4855)
e7aac8e Include TestConfig.h only if DEFAULT_TEST_DIR is not defined (Include TestConfig.h only if DEFAULT_TEST_DIR is not already defined #4884)
5decc4a Do not include TestConfig.h for all HLK build (Do not include TestConfig.h for all HLK build #4887)