Lines Matching defs:operand
190 struct Shader_operand *operand)
192 operand->type = DECODE_D3D10_SB_OPERAND_TYPE(**curr);
197 operand->index_dim = 0;
200 operand->index_dim = 1;
203 operand->index_dim = 2;
209 if (operand->index_dim >= 1) {
210 operand->index[0].index_rep = DECODE_D3D10_SB_OPERAND_INDEX_REPRESENTATION(0, **curr);
211 if (operand->index_dim >= 2) {
212 operand->index[1].index_rep = DECODE_D3D10_SB_OPERAND_INDEX_REPRESENTATION(1, **curr);
221 struct Shader_relative_operand *operand)
227 operand->comp = DECODE_D3D10_SB_OPERAND_4_COMPONENT_SELECT_1(**curr);
229 operand->type = DECODE_D3D10_SB_OPERAND_TYPE(**curr);
230 assert(operand->type != D3D10_SB_OPERAND_TYPE_IMMEDIATE32);
237 operand->index[0].imm = **curr;
241 operand->index[0].imm = **curr;
243 operand->index[1].imm = **curr;
274 struct Shader_operand *operand)
276 if (operand->index_dim >= 1) {
277 parse_index(curr, &operand->index[0]);
278 if (operand->index_dim >= 2) {
279 parse_index(curr, &operand->index[1]);