Skip to content

[SPIR-V] OpAccessChain as inline SPIR-V fails #6891

Closed

Description

Description

When a spir-v intrinsic function is defined that generates the OpAccessChain instruction, the follow error message comes up:

Internal Compiler error: cast<X>() argument of incompatible type!

We should see if it is possible to fix. That cannot always be worked around because people may have workgroup pointers that they want to be able to index. We are adding workgroup pointers to the HLSL standard headers files, so we might want to see what we can do with this.

Steps to Reproduce

https://godbolt.org/z/zM3Y74sfG

Actual Behavior
Internal compiler error.

Environment

  • DXC version: trunk
  • Host Operating System: all

Activity

  1. added
    bug
    spirv
    needs-triage
    on Sep 3, 2024
  2. s-perron commented on Sep 17, 2024

    @s-perron
    CollaboratorAuthor

    Fixed by #6720.

  3. s-perron commented on Sep 26, 2024

    @s-perron
    CollaboratorAuthor

    Seems to be working now.

  4. moved this from In progress to Done in HLSL Roadmapon Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugspirv

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions