Add global variable for every kernel texture parameter.