Lines Matching refs:pDesc
57 D3DVOLUME_DESC *pDesc ) in NineVolume9_ctor() argument
64 This, pContainer, pParams->device, pResource, Level, pDesc); in NineVolume9_ctor()
69 user_assert(!(pDesc->Usage & D3DUSAGE_DYNAMIC) || in NineVolume9_ctor()
70 (pDesc->Pool != D3DPOOL_MANAGED), D3DERR_INVALIDCALL); in NineVolume9_ctor()
72 assert(pResource || pDesc->Pool != D3DPOOL_DEFAULT); in NineVolume9_ctor()
85 This->desc = *pDesc; in NineVolume9_ctor()
89 This->info.width0 = pDesc->Width; in NineVolume9_ctor()
90 This->info.height0 = pDesc->Height; in NineVolume9_ctor()
91 This->info.depth0 = pDesc->Depth; in NineVolume9_ctor()
100 pDesc->Format, in NineVolume9_ctor()
104 pDesc->Pool == D3DPOOL_SCRATCH); in NineVolume9_ctor()
109 This->stride = util_format_get_stride(This->info.format, pDesc->Width); in NineVolume9_ctor()
112 This->stride, pDesc->Height); in NineVolume9_ctor()
116 pDesc->Format, in NineVolume9_ctor()
125 pDesc->Pool == D3DPOOL_DEFAULT && pDesc->Usage & D3DUSAGE_DYNAMIC)) { in NineVolume9_ctor()
127 pDesc->Width); in NineVolume9_ctor()
130 pDesc->Height); in NineVolume9_ctor()
212 D3DVOLUME_DESC *pDesc ) in NineVolume9_GetDesc() argument
214 user_assert(pDesc != NULL, E_POINTER); in NineVolume9_GetDesc()
215 *pDesc = This->desc; in NineVolume9_GetDesc()
553 D3DVOLUME_DESC *pDesc, in NineVolume9_new() argument
557 pContainer, pResource, Level, pDesc); in NineVolume9_new()