Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
void radeon_llvm_dispose(struct radeon_llvm_context *ctx);
-unsigned radeon_llvm_reg_index_soa(unsigned index, unsigned chan);
-
void radeon_llvm_finalize_module(struct radeon_llvm_context *ctx,
bool run_verifier);
return flow;
}
-unsigned radeon_llvm_reg_index_soa(unsigned index, unsigned chan)
-{
- return (index * 4) + chan;
-}
-
static LLVMValueRef emit_swizzle(struct lp_build_tgsi_context *bld_base,
LLVMValueRef value,
unsigned swizzle_x,