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

[SC-2189] Compiler::get_shader_resources() does not return all uniforms #2190

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

hiteshbosamiya
Copy link
Contributor

No description provided.

@CLAassistant
Copy link

CLAassistant commented Aug 25, 2023

CLA assistant check
All committers have signed the CLA.

spirv_cross.cpp Outdated Show resolved Hide resolved
spirv_cross.cpp Outdated Show resolved Hide resolved
spirv_cross.hpp Outdated Show resolved Hide resolved
spirv_cross.cpp Outdated Show resolved Hide resolved
spirv_cross.cpp Outdated Show resolved Hide resolved
spirv_cross.cpp Outdated Show resolved Hide resolved
spirv_cross.cpp Outdated Show resolved Hide resolved
spirv_cross.cpp Outdated Show resolved Hide resolved
spirv_cross.cpp Outdated Show resolved Hide resolved
spirv_cross.cpp Outdated Show resolved Hide resolved
@hiteshbosamiya
Copy link
Contributor Author

@HansKristian-Work, thanks for the review comments, done the requested changes, please review.

Copy link
Contributor

@HansKristian-Work HansKristian-Work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if CI passes.

@HansKristian-Work
Copy link
Contributor

HansKristian-Work commented Aug 25, 2023

Tests fail in reflection backend.

Copy link
Contributor

@HansKristian-Work HansKristian-Work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval revoked, awaiting fix.

Copy link
Contributor

@HansKristian-Work HansKristian-Work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment.

@hiteshbosamiya
Copy link
Contributor Author

Oops! I had missed else on line no. 1011 :-( Corrected it. Please verify. Thanks.

@hiteshbosamiya hiteshbosamiya changed the title [SC-2189] Compiler::get_shader_resources() does not return all uniforms [SC-2189] #2189 Compiler::get_shader_resources() does not return all uniforms Aug 26, 2023
@hiteshbosamiya hiteshbosamiya changed the title [SC-2189] #2189 Compiler::get_shader_resources() does not return all uniforms [SC-2189] Compiler::get_shader_resources() does not return all uniforms Aug 26, 2023
@HansKristian-Work HansKristian-Work merged commit 7ba6f5c into KhronosGroup:main Aug 28, 2023
5 checks passed
WhyAreAllTheseTaken added a commit to WhyAreAllTheseTaken/spirv_cross that referenced this pull request Jul 6, 2024
ShaderResources did not include some resource types that were included
in newer versions of SPIRV-Cross. One of which was `gl_plain_uniforms`
which meant that GLSL uniforms that were not declared in a UBO could
not be accessed or renamed. See KhronosGroup/SPIRV-Cross#2190 for
details about the issue.
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.

3 participants