[Mesa-dev] libclc: Improve libclc handling of built-in functions

Aaron Watry awatry at gmail.com
Thu Mar 14 20:04:44 PDT 2013

Note: I have tested all of these with the 32-bit signed integer data type
for scalar kernels only... r600g chokes on almost anything else due to a
missing vload/vstore implementation and buggy/incomplete handling of
char/short/long data types in CL kernels.


On Thu, Mar 14, 2013 at 10:01 PM, Aaron Watry <awatry at gmail.com> wrote:

> This series depends on the one-off patch I just sent to add max().
> 1) Fix the broken abs_diff integer built-in.
> 2) Add clamp for both integer and floating types in a new shared/ dir in
> order
>    to reduce code duplication and improve maintainability.
> 3) Move the max() function into the shared/ directory.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130314/fa749e13/attachment-0001.html>

More information about the mesa-dev mailing list