LLVMValueRef num_ssbos_ptr =
draw_jit_context_num_vs_ssbos(variant->gallivm, context_ptr);
- struct lp_build_tgsi_params params = {};
+ struct lp_build_tgsi_params params;
+ memset(¶ms, 0, sizeof(params));
params.type = vs_type;
params.mask = bld_mask;
draw_gs_llvm_dump_variant_key(&variant->key);
}
- struct lp_build_tgsi_params params = {};
+ struct lp_build_tgsi_params params;
+ memset(¶ms, 0, sizeof(params));
params.type = gs_type;
params.mask = &mask;
lp_build_interp_soa_update_inputs_dyn(interp, gallivm, loop_state.counter);
- struct lp_build_tgsi_params params = {};
+ struct lp_build_tgsi_params params;
+ memset(¶ms, 0, sizeof(params));
params.type = type;
params.mask = &mask;
gs_iface.info = info;
gs_iface.pVtxAttribMap = vtxAttribMap;
- struct lp_build_tgsi_params params = {};
+ struct lp_build_tgsi_params params;
+ memset(¶ms, 0, sizeof(params));
params.type = lp_type_float_vec(32, 32 * 8);
params.mask = & mask;
params.consts_ptr = wrap(consts_ptr);
uint32_t vectorWidth = mVWidth;
#endif
- struct lp_build_tgsi_params params = {};
+ struct lp_build_tgsi_params params;
+ memset(¶ms, 0, sizeof(params));
params.type = lp_type_float_vec(32, 32 * vectorWidth);
params.consts_ptr = wrap(consts_ptr);
params.const_sizes_ptr = wrap(const_sizes_ptr);
uses_mask = true;
}
- struct lp_build_tgsi_params params = {};
+ struct lp_build_tgsi_params params;
+ memset(¶ms, 0, sizeof(params));
params.type = lp_type_float_vec(32, 32 * 8);
params.mask = uses_mask ? &mask : NULL;
params.consts_ptr = wrap(consts_ptr);