st/nine: Fix behaviour of D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING
authorXavier Bouchoux <xavierb@gmail.com>
Sat, 21 Feb 2015 18:58:38 +0000 (19:58 +0100)
committerAxel Davy <axel.davy@ens.fr>
Wed, 29 Apr 2015 06:28:10 +0000 (08:28 +0200)
commit405c7d75114fadcf744f6bbd5556c86c66ac631b
tree6d345a43285f8b1840e1b203f2a505c5b851410c
parentd838fe8243aa0e96b198c876c1b5d79c098d1c0d
st/nine: Fix behaviour of D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING

Ignore D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING when
D3DUSAGE_RENDERTARGET is not specified.

This behaviour matches windows drivers.

Reviewed-by: Axel Davy <axel.davy@ens.fr>
Signed-off-by: Xavier Bouchoux <xavierb@gmail.com>
src/gallium/state_trackers/nine/adapter9.c