summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/query9.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/nine/query9.c')
-rw-r--r--src/gallium/state_trackers/nine/query9.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/query9.c b/src/gallium/state_trackers/nine/query9.c
index 86762d2e697..908420c30dd 100644
--- a/src/gallium/state_trackers/nine/query9.c
+++ b/src/gallium/state_trackers/nine/query9.c
@@ -107,6 +107,8 @@ NineQuery9_ctor( struct NineQuery9 *This,
const unsigned ptype = d3dquerytype_to_pipe_query(Type);
HRESULT hr;
+ DBG("This=%p pParams=%p Type=%d\n", This, pParams, Type);
+
hr = NineUnknown_ctor(&This->base, pParams);
if (FAILED(hr))
return hr;
@@ -170,6 +172,8 @@ NineQuery9_Issue( struct NineQuery9 *This,
{
struct pipe_context *pipe = This->base.device->pipe;
+ DBG("This=%p dwIssueFlags=%d\n", This, dwIssueFlags);
+
user_assert((dwIssueFlags == D3DISSUE_BEGIN && !This->instant) ||
(dwIssueFlags == 0) ||
(dwIssueFlags == D3DISSUE_END), D3DERR_INVALIDCALL);
@@ -221,6 +225,9 @@ NineQuery9_GetData( struct NineQuery9 *This,
union pipe_query_result presult;
union nine_query_result nresult;
+ DBG("This=%p pData=%p dwSize=%d dwGetDataFlags=%d\n",
+ This, pData, dwSize, dwGetDataFlags);
+
user_assert(This->state != NINE_QUERY_STATE_RUNNING, D3DERR_INVALIDCALL);
user_assert(dwSize == 0 || pData, D3DERR_INVALIDCALL);
user_assert(dwGetDataFlags == 0 ||