unsigned name;
unsigned index;
unsigned sid;
- unsigned usage;
};
struct si_shader_context
shader->output[i].name = d->Semantic.Name;
shader->output[i].sid = d->Semantic.Index;
shader->output[i].index = d->Range.First;
- shader->output[i].usage = d->Declaration.UsageMask;
break;
}
LLVMValueRef args[9];
LLVMValueRef pos_args[4][9] = { { 0 } };
LLVMValueRef psize_value = NULL, edgeflag_value = NULL, layer_value = NULL;
- unsigned semantic_name, semantic_index, semantic_usage;
+ unsigned semantic_name, semantic_index;
unsigned target;
unsigned param_count = 0;
unsigned pos_idx;
for (i = 0; i < noutput; i++) {
semantic_name = outputs[i].name;
semantic_index = outputs[i].sid;
- semantic_usage = outputs[i].usage;
handle_semantic:
/* Select the correct target */
(1 << semantic_index)))
continue;
shader->clip_dist_write |=
- semantic_usage << (semantic_index << 2);
+ 0xf << (semantic_index * 4);
target = V_008DFC_SQ_EXP_POS + 2 + semantic_index;
break;
case TGSI_SEMANTIC_CLIPVERTEX:
outputs[noutput].index = index;
outputs[noutput].name = d->Semantic.Name;
outputs[noutput].sid = d->Semantic.Index;
- outputs[noutput].usage = d->Declaration.UsageMask;
for (i = 0; i < 4; i++)
outputs[noutput].values[i] =
outputs[i].name = out->name;
outputs[i].index = out->index;
outputs[i].sid = out->sid;
- outputs[i].usage = out->usage;
for (chan = 0; chan < 4; chan++) {
args[2] = lp_build_const_int32(gallivm,