projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
225d7f8
)
st/nine: Queries: always succeed for D3DQUERYTYPE_TIMESTAMP when flushing
author
Axel Davy
<axel.davy@ens.fr>
Tue, 2 Dec 2014 21:01:44 +0000
(22:01 +0100)
committer
Axel Davy
<axel.davy@ens.fr>
Wed, 3 Dec 2014 15:39:24 +0000
(16:39 +0100)
This is the behaviour that Wine tests
Tested-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/query9.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/query9.c
b/src/gallium/state_trackers/nine/query9.c
index 9d74ab8fad9e6d61127628aa597584dae2e39627..937255667becc57fea0c07af58694541ea31db4b 100644
(file)
--- a/
src/gallium/state_trackers/nine/query9.c
+++ b/
src/gallium/state_trackers/nine/query9.c
@@
-223,6
+223,9
@@
NineQuery9_GetData( struct NineQuery9 *This,
wait_query_result = TRUE;
}
+ /* Wine tests: D3DQUERYTYPE_TIMESTAMP always succeeds */
+ wait_query_result |= This->type == D3DQUERYTYPE_TIMESTAMP;
+
/* Note: We ignore dwGetDataFlags, because get_query_result will
* flush automatically if needed */