-
Notifications
You must be signed in to change notification settings - Fork 795
Open
Labels
Description
https://godbolt.org/z/vfnqzMP9e
Discovered while running the offload-test-suite. Hitting an assert when compiling this program with spirv:
// RUN: %dxc -spirv -fspv-target-env=vulkan1.3 -T cs_6_5 %s
StructuredBuffer<uint4> Low : register(t0);
StructuredBuffer<uint4> High : register(t1);
RWStructuredBuffer<double4> Out : register(u2);
[numthreads(1,1,1)]
void main() {
Out[1] = double4(asdouble(Low[1].xyz, High[1].xyz), asdouble(Low[1].w, High[1].w));
}
# .---command stderr------------
# | Internal compiler error: LLVM Assert
# `-----------------------------
# error: command failed with exit status: 0xe0000001
Error: assert(Val && "isa<> used on a null pointer")
File:
/home/kaitlinpeng/DirectXShaderCompiler/include/llvm/Support/Casting.h(96)
Func: doit
Illegal instruction (core dumped)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status