For the nir paths we want to access the mask vector to only
store when the mask allows it.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3841>
boolean is_aindex_indirect,
LLVMValueRef attrib_index,
LLVMValueRef swizzle_index,
- LLVMValueRef value);
+ LLVMValueRef value,
+ LLVMValueRef mask_vec);
LLVMValueRef (*emit_fetch_input)(const struct lp_build_tcs_iface *tcs_iface,
struct lp_build_context * bld,
reg->Register.Indirect,
attrib_index,
channel_index,
- value);
+ value, NULL);
}
static void
boolean is_aindex_indirect,
LLVMValueRef attrib_index,
LLVMValueRef swizzle_index,
- LLVMValueRef value)
+ LLVMValueRef value,
+ LLVMValueRef mask_vec)
{
swr_tcs_llvm_iface *iface = (swr_tcs_llvm_iface*)tcs_iface;
struct lp_build_tgsi_context *bld_base = (struct lp_build_tgsi_context*)bld;