summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/volume9.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/volume9.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/volume9.c')
-rw-r--r--src/gallium/state_trackers/nine/volume9.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/volume9.c b/src/gallium/state_trackers/nine/volume9.c
index c46a9d1c2e0..3a2626fe7b6 100644
--- a/src/gallium/state_trackers/nine/volume9.c
+++ b/src/gallium/state_trackers/nine/volume9.c
@@ -342,6 +342,9 @@ NineVolume9_CopyVolume( struct NineVolume9 *This,
uint8_t *p_dst;
const uint8_t *p_src;
+ DBG("This=%p From=%p dstx=%u dsty=%u dstz=%u pSrcBox=%p\n",
+ This, From, dstx, dsty, dstz, pSrcBox);
+
user_assert(This->desc.Format == From->desc.Format, D3DERR_INVALIDCALL);
dst_box.x = dstx;
@@ -527,6 +530,9 @@ NineVolume9_SetPrivateData( struct NineVolume9 *This,
struct pheader *header;
const void *user_data = pData;
+ DBG("This=%p refguid=%p pData=%p SizeOfData=%d Flags=%d\n",
+ This, refguid, pData, SizeOfData, Flags);
+
if (Flags & D3DSPD_IUNKNOWN)
user_assert(SizeOfData == sizeof(IUnknown *), D3DERR_INVALIDCALL);
@@ -593,6 +599,8 @@ NineVolume9_FreePrivateData( struct NineVolume9 *This,
{
struct pheader *header;
+ DBG("This=%p refguid=%p\n", This, refguid);
+
header = util_hash_table_get(This->pdata, refguid);
if (!header) { return D3DERR_NOTFOUND; }