DXIL spec language around Mad fusing does not match reality

Open
#9,115 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
documentation

Research direction

Read the FMA section in docs/DXIL.rst, linked from the issue. Compare its statement about precise operations with the reported behavior on NVIDIA drivers and WARP, then determine what wording accurately describes the spec and implementations. Done means the documentation no longer states that precise operations must not be fused when that does not match reality.

Written by the indexing model from the issue text.

Description

https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst#fmad

says that if precise is used, the operation must not be fused. That does not match reality on at least NVIDIA drivers and apparently WARP too according to @jenatali.

Dominant language
C++
Stars
3.7k
Forks
926
Avg merge
3d 22h
Merged PRs (30d)
45

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/DirectXShaderCompiler

All issues in microsoft/DirectXShaderCompiler

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.