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

Teach ADCE about OpImageTexelPointer #1446

Merged
merged 1 commit into from
Apr 4, 2018

Conversation

s-perron
Copy link
Collaborator

@s-perron s-perron commented Apr 2, 2018

Currently OpImageTexelPointer operations are treat like a use of the
pointer, but it does
not look for the memory being referenced to make sure stores are not
removed.

This change teaches it so identify the memory being accessed, and
treats it as if that memory is loaded.

Contributes to #1445.

@s-perron s-perron self-assigned this Apr 2, 2018
@greg-lunarg
Copy link
Contributor

Please do not commit until my concern in #1445 is addressed.

Copy link
Contributor

@dnovillo dnovillo left a comment

Choose a reason for hiding this comment

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

LGTM. @greg-lunarg does the description from microsoft/DirectXShaderCompiler#1194 and discussion in #1445 address your concerns?

If not, and this is a spec issue, we may need to work on a branch until we can solve the concern.

Currently OpImageTexelPointer operations are treat like a use of the
pointer, but it does
not look for the memory being referenced to make sure stores are not
removed.

This change teaches it so identify the memory being accessed, and
treats it as if that memory is loaded.

Fixes to KhronosGroup#1445.
@s-perron s-perron merged commit 7c5d49b into KhronosGroup:master Apr 4, 2018
@s-perron s-perron deleted the image_texel branch April 11, 2018 00:06
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