An exported function (at least up to 1.12) happily accepted parameters of 
the form:

varying TYPE * uniform ptr

I am trying out 1.14.1 and get the following error:

test.ispc:2:19: Warning: Exported 
        function parameter "ptr" points 
        to varying type 
run(varying float * uniform ptr)

>From this code:

export void
run(varying float * uniform ptr)
{
}

The code compiles as expected at least up to 1.12.

Is this an expected change?  I didn't see anything about it in the release 
notes.

Cheers,
-Brian

-- 
You received this message because you are subscribed to the Google Groups 
"Intel SPMD Program Compiler Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ispc-users/cb6fd4f1-8888-45d9-af1a-2b4b69bd272an%40googlegroups.com.

Reply via email to