Skip to content

[SPIR-V] Compiler crash with static ResourceDescriptorHeap (lib_6_6 target) #8339

@Onhi

Description

@Onhi

Description
Using:
static ResourceType some_var_name = ResourceDescriptorHeap[...];
In a lib_6_6 target (closest hit shader) results in a compiler crash.

Note: it appears to be fixed in the trunk version of the compiler.

Steps to Reproduce
Compiler explorer

-spirv -T lib_6_6 -E closest_hit_main

Actual Behavior

Program terminated with signal: SIGSEGV
Compiler returned: 139

Environment

  • DXC version 1.9.2602

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug, regression, crashneeds-triageAwaiting triagespirvWork related to SPIR-V

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions