summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/query9.c
diff options
context:
space:
mode:
authorStanislaw Halik <[email protected]>2014-11-25 00:38:04 +0100
committerEmil Velikov <[email protected]>2014-11-26 20:09:11 +0000
commit7f74b9d47928979fdad445db1e0f249688c62991 (patch)
tree11f70b726110cce2c3d30744f3a82ea69dedbeed /src/gallium/state_trackers/nine/query9.c
parent6aeae7442d1d5a8b1ff77b6f50f4ac7333cd22b0 (diff)
st/nine: call DBG() at more external entry points
Cc: "10.4" <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: David Heidelberg <[email protected]> Reviewed-by: Axel Davy <[email protected]> Signed-off-by: Stanislaw Halik <[email protected]>
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 ||