LLVMValueRef value[4];
for (unsigned i = 0; i < num_components + component; i++) {
- value[i] = lds_load(bld_base, ctx->i32, i, dw_addr);
+ value[i] = lds_load(bld_base, type, i, dw_addr);
}
return ac_build_varying_gather_values(&ctx->ac, value, num_components, component);
*/
LLVMValueRef value[4];
for (unsigned i = component; i < num_components + component; i++) {
- value[i] = buffer_load(&ctx->bld_base, ctx->i32, i, buffer, base, addr, true);
+ value[i] = buffer_load(&ctx->bld_base, type, i, buffer, base, addr, true);
}
return ac_build_varying_gather_values(&ctx->ac, value, num_components, component);