KhronosGroup / KhronosGroup/SPIRV-Cross

"MSL conversion error: Aliasing arrayed discrete descriptors is currently not supported."

Open
#2,142 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
GLSL
Stars
2.5k
Forks
713
Avg merge
2d 18h
Merged PRs (30d)
16

Description

Consider this a vote to get this support going. Thanks for all you guys have done on this amazing project btw.

```glsl

layout(set = 3, binding = 0) readonly buffer TrimParams
{
int numTrims;
} trimParams;

layout(set = 3, binding = 0) readonly buffer TrimLoop
{
int numPositions;
bool inner;
vec2 pos[];
} trim[];
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the MSL conversion error with the GLSL snippet in the issue, focusing on the aliased arrayed discrete descriptors. Determine the conversion behavior needed for the two TrimParams and TrimLoop declarations; done means this input converts without the reported unsupported-aliasing error.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.