Skip to content

[SM6.9] compiler crash with Load with status #7508

Closed
@tcorringham

Description

@tcorringham

Description
When compiling a simple load of a vector in SM6.9 DXC crashes when a status parameter is present. The same shader code compiles with earlier shader models, and also with scalar values.

Steps to Reproduce
// -T cs_6_9 -E main
ByteAddressBuffer Buf : register(t0);

[numthreads(32, 1, 1)]
void main(uint3 gtid : SV_GroupThreadID, uint gidx : SV_GroupIndex)
{
uint status;
uint2 vec2 = Buf.Load < uint2 > (0, status);
}

See https://godbolt.org/z/o6aob9M8z

Actual Behavior
Internal compiler error: LLVM Assert

Environment

  • DXC version (dxcompiler.dll: 1.9 - 1.8.0.14932 (main, 474f9d2))
  • Host Operating System: (Windows 11 Pro 26100.4202)

Metadata

Metadata

Assignees

Labels

bugBug, regression, crash

Type

Projects

Status

Triaged

Relationships

None yet

Development

No branches or pull requests

Issue actions