projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bff640b
)
st/nine: Fix AlphaCmpCaps
author
Patrick Rudolph
<siro@das-labor.org>
Thu, 24 Dec 2015 10:32:37 +0000
(11:32 +0100)
committer
Axel Davy
<axel.davy@ens.fr>
Thu, 4 Feb 2016 21:12:17 +0000
(22:12 +0100)
AlphaCmpCaps should advertise D3DPCMPCAPS_NEVER as well.
Fixes https://github.com/iXit/Mesa-3D/issues/142
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/adapter9.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/adapter9.c
b/src/gallium/state_trackers/nine/adapter9.c
index 69e0fa25961371ab52ee616fca6d79dac64f76bd..bdcd59c59dc59db2a9bfa9e6ab36d38a7e63bbeb 100644
(file)
--- a/
src/gallium/state_trackers/nine/adapter9.c
+++ b/
src/gallium/state_trackers/nine/adapter9.c
@@
-618,7
+618,8
@@
NineAdapter9_GetDeviceCaps( struct NineAdapter9 *This,
pCaps->DestBlendCaps = pCaps->SrcBlendCaps;
- pCaps->AlphaCmpCaps = D3DPCMPCAPS_LESS |
+ pCaps->AlphaCmpCaps = D3DPCMPCAPS_NEVER |
+ D3DPCMPCAPS_LESS |
D3DPCMPCAPS_EQUAL |
D3DPCMPCAPS_LESSEQUAL |
D3DPCMPCAPS_GREATER |