In terms of LLVM, ISPC generates vectorized types for varying types, and
scalar types for uniform. For example:
uniform int func(uniform int x, varying int y);
uniform int
run()
{
uniform int x = 1;
varying int y = programIndex;
uniform int z = func(x, y);
return z;
}
ispc
Hello all,
Dev. in SIMD since a decade ( I did ASM, intrinsics and DSL), I am now
looking solution using IR of LLVM, ISPC is the perfect solution. However
I am very confuse by the key world uniform/varying and their mapping in
ASM. From the original paper "ispc : A SPMD Compiler for "