Reduced one test case to fails on HD4000.

Combination of writing to local memory variable, when unused constant memory variable is declared causes failure. As a work around one may make dummy local memory variable and use constant to initialize it.
Clamping function calls caused problems in some cases with Apple i7 driver.
Apple i7 driver did fail on compiling this example.
Renamed test case to describe situation better.