Skip to content

GL_ARM_tensors does not work with raw descriptor heap accesses #4197

@ErikHogeman

Description

@ErikHogeman

The following shader trigger a crash in debug mode and invalid SPIR-V in release mode:

#version 460 core
#extension GL_ARM_tensors : enable
#extension GL_EXT_descriptor_heap : require
#extension GL_EXT_shader_explicit_arithmetic_types : enable

layout(set = 0, binding = 0) uniform tensorARM<int32_t, 4> t;

layout(descriptor_heap) buffer O {
    int32_t out_data;
} ssbo[];

void main()
{
    tensorReadARM(t, uint[](1, 2, 3, 4), ssbo[1].out_data);
}

It's related to access chain handling of the out parameter on the tensor read function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions