141
139
static const unsigned char bgra_swizzles[4] = {2, 1, 0, 3};
140
static const unsigned char rgba_swizzles[4] = {0, 1, 2, 3};
142
141
LLVMValueRef inputs[PIPE_MAX_SHADER_INPUTS];
143
142
LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS];
144
143
LLVMBuilderRef builder = bld->gallivm->builder;
145
144
struct gallivm_state *gallivm = bld->gallivm;
146
145
LLVMValueRef result = NULL;