Skip to content

Fix atomics resource declaration issue#3833

Merged
pow2clk merged 1 commit intomicrosoft:masterfrom
PrestonHamlin:atomics-rawbuffer-fix
Jun 23, 2021
Merged

Fix atomics resource declaration issue#3833
pow2clk merged 1 commit intomicrosoft:masterfrom
PrestonHamlin:atomics-rawbuffer-fix

Conversation

@PrestonHamlin
Copy link
Copy Markdown
Contributor

Resources used as raw RWByteAddressBuffer but created as structured could see conflicting allocation and stride values, resulting in OOB access in some configurations.

Setting the stride to 0 (I like being explicit) and adding the raw/typeless qualifiers, I no longer see OOB accesses.

Resources used as raw RWByteAddressBuffer but created as structured could see conflicting allocation and stride values, resulting in OOB access in some configurations.
@ghost
Copy link
Copy Markdown

ghost commented Jun 17, 2021

CLA assistant check
All CLA requirements met.

@AppVeyorBot
Copy link
Copy Markdown

Copy link
Copy Markdown
Collaborator

@pow2clk pow2clk left a comment

Choose a reason for hiding this comment

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

LGTM!

@pow2clk pow2clk merged commit 51d9501 into microsoft:master Jun 23, 2021
@PrestonHamlin PrestonHamlin deleted the atomics-rawbuffer-fix branch June 24, 2021 05:24
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