Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r600,compute: setup RATs for write-only images
v2: Set CB_TARGET_MASK to zero for compute resources (Marek). Remove unnecessary use of util_range_add (Marek). Fix crash on non-contiguous RAT setup. v3: Unreference surface instead of calling destroy directly (Marek). Non-contiguous RAT setup can occur when the kernel signature contains no global buffer arguments, but there are write-only image args. In this case RAT0 is not set, but RAT1 is.
- Loading branch information
Showing
4 changed files
with
113 additions
and
41 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
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