Skip to content

Commit

Permalink
resource_tracking_pass: Persist image resource atomic designation. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
squidbus authored Jan 16, 2025
1 parent b3739be commit da2b58f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shader_recompiler/ir/passes/resource_tracking_pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ class Descriptors {
return desc.sharp_idx == existing.sharp_idx && desc.is_array == existing.is_array;
})};
auto& image = image_resources[index];
image.is_atomic |= desc.is_atomic;
image.is_written |= desc.is_written;
return index;
}
Expand Down

0 comments on commit da2b58f

Please sign in to comment.