diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-07-19 16:22:46 -0400 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-07-19 16:22:46 -0400 |
commit | 36aa43bf73ee1268f0a250788eb637a4123f08eb (patch) | |
tree | d141bd2133a0055096dd4960887218cd8175e3f0 /src/i915_3d.h | |
parent | adce6bd0fc9533156da09da7d029ba0d76606b4f (diff) |
Force texture alpha channels to 1 if not present.
Diffstat (limited to 'src/i915_3d.h')
-rw-r--r-- | src/i915_3d.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/i915_3d.h b/src/i915_3d.h index e9b01944..5a458829 100644 --- a/src/i915_3d.h +++ b/src/i915_3d.h @@ -350,8 +350,16 @@ _i915_fs_arith(int cmd, int dest_reg, return op; } +/** Move operand0 to dest_reg */ +#define i915_fs_mov(dest_reg, operand0) \ +do { \ + FS_OUT(i915_fs_arith(MOV, dest_reg, operand0, \ + i915_fs_operand_none(), \ + i915_fs_operand_none())); \ +} while (0) + /** - * Move the values in operand0 to the dest reg with the masking/saturation + * Move the value in operand0 to the dest reg with the masking/saturation * specified. */ #define i915_fs_mov_masked(dest_reg, dest_mask, operand0) \ |