-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle null descriptor for patching global buffer operations
Null descriptor is not taken into consideration on pathing global load/store/atomic operations when `allowNullDescriptor` is enabled. If the dword3 of descriptor is zero, we will return 0 for load/atmic and skip store. NOTE: we use dword3 to check null desc so that we should not change the descriptor itself if it is null in `CreateBufferBuffer`.
- Loading branch information
1 parent
daf27f7
commit 586f50b
Showing
5 changed files
with
206 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.