Skip to content

Fix incorrect "Contradictory layout" link errors #3920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Valentin-Sarthou
Copy link

@Valentin-Sarthou Valentin-Sarthou commented Apr 3, 2025

Hello,

I've come across issues similar to #1516 and #3919 where "Contradictory layout" link errors are generated when using multiple compilation units and declaring a layout in only 1 compilation unit.

A similar fix was done in 6f723eb for tessellation input and output primitives.

But the issue was still present for the following layouts:

This PR attempts to fix all these remaining cases, and adds tests for each.

@CLAassistant
Copy link

CLAassistant commented Apr 3, 2025

CLA assistant check
All committers have signed the CLA.

…re layouts

when using multiple compilation units, input/output layouts don't need
to be declared in every unit.

In the same spirit as 6f723eb
@Valentin-Sarthou Valentin-Sarthou changed the title Incorrect "Contradictory layout" link errors Fix incorrect "Contradictory layout" link errors Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants