Lines Matching defs:operand1
266 #define i915_fs_arith(op, dest_reg, operand0, operand1, operand2) \
267 _i915_fs_arith(A0_##op, dest_reg, operand0, operand1, operand2)
272 struct i915_fs_operand operand1,
312 op.ui[1] |= REG_TYPE(operand1.reg) << A1_SRC1_TYPE_SHIFT;
313 op.ui[1] |= REG_NR(operand1.reg) << A1_SRC1_NR_SHIFT;
315 op.ui[1] |= i915_get_hardware_channel_val(operand1.x) <<
317 if (operand1.x < 0)
320 op.ui[1] |= i915_get_hardware_channel_val(operand1.y) <<
322 if (operand1.y < 0)
325 op.ui[2] |= i915_get_hardware_channel_val(operand1.z) <<
327 if (operand1.z < 0)
330 op.ui[2] |= i915_get_hardware_channel_val(operand1.w) <<
332 if (operand1.w < 0)
388 /** Add operand0 and operand1 and put the result in dest_reg */
389 #define i915_fs_add(dest_reg, operand0, operand1) \
391 FS_OUT(i915_fs_arith(ADD, dest_reg, operand0, operand1, \
395 /** Add operand0 and operand1 and put the result in dest_reg */
396 #define i915_fs_mul(dest_reg, operand0, operand1) \
398 FS_OUT(i915_fs_arith(MUL, dest_reg, operand0, operand1, \
403 * Perform a 3-component dot-product of operand0 and operand1 and put the
406 #define i915_fs_dp3_masked(dest_reg, dest_mask, operand0, operand1) \
410 op = i915_fs_arith(DP3, dest_reg, operand0, operand1, \