Skip to content

Commit fa73391

Browse files
mmereckiigcbot
authored andcommitted
ConstantCoalescing: treat write-only buffers as read write.
This PR adds a temporary workaround for appliaction issues. ConstantCoalescing will assume that stores to write-only buffers may alias.
1 parent 055f2cb commit fa73391

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

IGC/Compiler/CISACodeGen/ConstantCoalescing.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2580,6 +2580,7 @@ bool ConstantCoalescing::CheckForAliasingWrites(
25802580
if (writeAccessType != STATELESS &&
25812581
writeAccessType != UAV &&
25822582
writeAccessType != BINDLESS &&
2583+
writeAccessType != BINDLESS_WRITEONLY &&
25832584
writeAccessType != SSH_BINDLESS)
25842585
{
25852586
return false;

0 commit comments

Comments
 (0)