diff options
author | Brian Paul <[email protected]> | 2010-04-18 09:56:52 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-18 10:02:11 -0600 |
commit | 1673bb38bbc4b05f823abecbfaae06e9ce52eb9b (patch) | |
tree | cbbd5497f58fdf3d8cd6821344348f7d6c4065bd | |
parent | 10e4ec448e8011e8d446d83fc8bd61c7ba2d74be (diff) |
tgsi: replace 0xf with TGSI_WRITEMASK_XYZW
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index 3d0455de7ce..f725405ade1 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c @@ -1158,7 +1158,7 @@ static void emit_decl_range( struct ureg_program *ureg, out[0].decl.Type = TGSI_TOKEN_TYPE_DECLARATION; out[0].decl.NrTokens = 2; out[0].decl.File = file; - out[0].decl.UsageMask = 0xf; + out[0].decl.UsageMask = TGSI_WRITEMASK_XYZW; out[0].decl.Interpolate = TGSI_INTERPOLATE_CONSTANT; out[0].decl.Semantic = 0; @@ -1180,7 +1180,7 @@ emit_decl_range2D(struct ureg_program *ureg, out[0].decl.Type = TGSI_TOKEN_TYPE_DECLARATION; out[0].decl.NrTokens = 3; out[0].decl.File = file; - out[0].decl.UsageMask = 0xf; + out[0].decl.UsageMask = TGSI_WRITEMASK_XYZW; out[0].decl.Interpolate = TGSI_INTERPOLATE_CONSTANT; out[0].decl.Dimension = 1; |