Skip to content
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

globallycoherent: Propagate the MemoryQualifierSetDecoration for #6079 #6315

Merged
merged 2 commits into from
Feb 8, 2025

Conversation

zlatinski
Copy link
Contributor

@zlatinski zlatinski commented Feb 7, 2025

Propagate the kIROp_MemoryQualifierSetDecoration
memory decorations when converting from structures to flat global resources

struct Tex
{
globallycoherent float4 bias = { 0.1, 0.3, 0.9, 1.5};
};
uniform Tex gTex;

should have the following code generated in GLSL:

coherent layout(rgba32f)
layout(binding = 2)
uniform image2D globalParams_gTex_tex_0;

This closes #6079

pr: non-breaking

Propagate the kIROp_MemoryQualifierSetDecoration
memory decorations when converting from structures
to flat global resources

struct Tex
{
    globallycoherent float4 bias = { 0.1, 0.3, 0.9, 1.5};
};
uniform Tex gTex;

should have the following code generated in GLSL:

coherent layout(rgba32f)
layout(binding = 2)
uniform image2D globalParams_gTex_tex_0;

This closes #6079
@csyonghe
Copy link
Collaborator

csyonghe commented Feb 7, 2025

@zlatinski you need to assign the PR:non-breaking label to the PR to mark this as a non-breaking change.

@zlatinski zlatinski enabled auto-merge (squash) February 8, 2025 16:39
@zlatinski zlatinski added the pr: non-breaking PRs without breaking changes label Feb 8, 2025
@zlatinski zlatinski self-assigned this Feb 8, 2025
@zlatinski zlatinski merged commit 67dfc9b into master Feb 8, 2025
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

globalcoherent prefix in struct does not work
2 participants