[Mesa-dev] ssbo support missing imin/umin dinstinction

Ilia Mirkin imirkin at alum.mit.edu
Fri Sep 25 18:15:48 PDT 2015


Hi Samuel,

It seems like there's only a single atomic_min intrinsic for ssbo
(same for max), but the ssbo spec actually calls for both signed and
unsigned semantics:

        uint atomicMin(inout uint mem, uint data);
        int atomicMin(inout int mem, int data);

Should there be separate intrinsics for these (and their Max friends)
or is there some other way to tell whether the min/max should be done
signed/unsigned?

Cheers,

  -ilia


More information about the mesa-dev mailing list