diff options
author | Axel Davy <[email protected]> | 2016-11-27 13:10:52 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-12-20 23:44:21 +0100 |
commit | 1efdc8f5946af509da697b604c6f2639c7080bc9 (patch) | |
tree | 6a0ac7a184b06255c1c226a0c501e87e4ad891c3 /src/gallium | |
parent | 7afea63d4fc2077c0f18604c0b68adb13435eabc (diff) |
st/nine: Remove useless code in ff ps
Current is already initialized to Diffuse.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_ff.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/state_trackers/nine/nine_ff.c b/src/gallium/state_trackers/nine/nine_ff.c index 7a099864da0..c3245a302ee 100644 --- a/src/gallium/state_trackers/nine/nine_ff.c +++ b/src/gallium/state_trackers/nine/nine_ff.c @@ -1375,11 +1375,6 @@ nine_ff_build_ps(struct NineDevice9 *device, struct nine_ff_ps_key *key) oCol = ureg_DECL_output(ureg, TGSI_SEMANTIC_COLOR, 0); - if (key->ts[0].colorop == D3DTOP_DISABLE && - key->ts[0].alphaop == D3DTOP_DISABLE) - ureg_MOV(ureg, ps.rCur, ps.vC[0]); - /* Or is it undefined then ? */ - /* Run stages. */ for (s = 0; s < 8; ++s) { |