The problem of atomic addition operation failing on large-sized buffers

When the size of Buffer<int>exceeds 65535, the atomic addition operation performed on the portion of Buffer that exceeds 65535 will not truly take effect.

I tested it using UE5's compute shader.

I tested it on MediaTek Dimensity 9300, which is G720. Is this a driver issue or a hardware limitation?

Qualcomm's Snapdragon 8Gen3 does not have this issue

Parents
  • Are you using any mediump/relaxed precision in your shader? Does it still happen if you remove that?

    When you say "size" do you mean number of bytes or number of ints?

    It's hard to be more specific without more information - please can you share your shader? You can contact developer@arm.com if this is not something you can share publicly. 

    Kind regards, 
    Pete

Reply
  • Are you using any mediump/relaxed precision in your shader? Does it still happen if you remove that?

    When you say "size" do you mean number of bytes or number of ints?

    It's hard to be more specific without more information - please can you share your shader? You can contact developer@arm.com if this is not something you can share publicly. 

    Kind regards, 
    Pete

Children
No data