Skip to content

[HLSL][SPIRV] Boolean vector in a RawBuffer should be <4 x i32> #141089

@spall

Description

@spall
%18 = tail call noundef align 16 dereferenceable(16) ptr addrspace(11) @llvm.spv.resource.getpointer.p11.tspirv.VulkanBuffer_a0v4i1_12_1t(target("spirv.VulkanBuffer", [0 x <4 x i1>], 12, 1) %1, i32 1)

I believe the type in the target should be

[0 x <4 x i32>]

This leads to an assert failing in 'SPIRVLegalizePointerCast::loadVectorFromVector' because the Target Element type and the Source Element type are not the same, <4 x i32> versus <4 x i1>.

Looks to be the same as: #135635

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Active

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions