diff options
author | Marek Olšák <[email protected]> | 2015-05-17 16:35:14 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-05-20 15:40:46 +0200 |
commit | e1c4e8aaaafddd0e04cf2a16e28ef8f1e09d8b44 (patch) | |
tree | f137da4bf3296d7850567eb10c6b6b8ffd708027 /src/gallium/auxiliary/tgsi/tgsi_lowering.c | |
parent | e4201bb618f02a279fda59a1c528d7218e6900a5 (diff) |
gallium: remove TGSI_SAT_MINUS_PLUS_ONE
It's a remnant of some old NV extension. Unused.
I also have a patch that removes predicates if anyone is interested.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_lowering.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_lowering.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_lowering.c b/src/gallium/auxiliary/tgsi/tgsi_lowering.c index 4954c1178e5..a3b90bdb509 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_lowering.c +++ b/src/gallium/auxiliary/tgsi/tgsi_lowering.c @@ -1133,8 +1133,7 @@ transform_samp(struct tgsi_transform_context *tctx, /* MOV_SAT tmpA.<mask>, tmpA */ if (mask) { - create_mov(tctx, &ctx->tmp[A].dst, &ctx->tmp[A].src, mask, - TGSI_SAT_ZERO_ONE); + create_mov(tctx, &ctx->tmp[A].dst, &ctx->tmp[A].src, mask, 1); } /* modify the texture samp instruction to take fixed up coord: */ |