diff options
author | Tiziano Bacocco <[email protected]> | 2015-01-19 15:27:38 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-02-06 00:07:19 +0100 |
commit | 50f0e011da23945cb2219bf71c4dc7b1aeb5044f (patch) | |
tree | 7e9653844b4f49f9b594c246ed74ca7bf6a9e957 /src/gallium | |
parent | dfe5e84e74b184748c48cf07d58c79c2c5685a2d (diff) |
st/nine: Setting D3DRS_ALPHAFUNC to 0 means D3DCMP_NEVER
Reviewed-by: Axel Davy <[email protected]>
Signed-off-by: Tiziano Bacocco <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_pipe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/nine_pipe.h b/src/gallium/state_trackers/nine/nine_pipe.h index 640bbdbfbf2..c1269b3d0d9 100644 --- a/src/gallium/state_trackers/nine/nine_pipe.h +++ b/src/gallium/state_trackers/nine/nine_pipe.h @@ -472,6 +472,7 @@ d3dcmpfunc_to_pipe_func(D3DCMPFUNC func) case D3DCMP_NOTEQUAL: return PIPE_FUNC_NOTEQUAL; case D3DCMP_GREATEREQUAL: return PIPE_FUNC_GEQUAL; case D3DCMP_ALWAYS: return PIPE_FUNC_ALWAYS; + case D3DCMP_NEVER_ZERO: return PIPE_FUNC_NEVER; // Tested on windows + ATI HD5770 default: assert(0); return PIPE_FUNC_NEVER; |