1 Reply Latest reply on May 24, 2009 1:45 PM by eduardoschardong

    Scatter arrays

    berathebrain

      I'm interested what type of hardware supports scatter arrays? Because my ATI HD 2600XT doesn't support it. It support only gather arrays. And if I really need scatter arrays how can I emulate it?

      Thank you for your help.

        • Scatter arrays
          eduardoschardong

           

          Originally posted by: berathebrain I'm interested what type of hardware supports scatter arrays?


          All cards starting with the HD3*** series.

           

          Originally posted by: berathebrain And if I really need scatter arrays how can I emulate it?


          1) Write results to a normal output stream and add a second output stream wich will the index of where the value should have been written.

          2) "sort" (not exactly sort because same values may be skipped and other overwritten) both streams based on the index.

          3) In the end each index should be on a position with the same index and each value in the desired "scattered" position.