Lines Matching refs:hRes
385 HRESULT hRes; in PVRTShadowVolMeshInitMesh() local
418 hRes = pContext->pDev->CreateBuffer(&sVBBufferDesc, NULL, &psMesh->pivb) != S_OK; in PVRTShadowVolMeshInitMesh()
420 if(FAILED(hRes)) in PVRTShadowVolMeshInitMesh()
429 hRes = pDeviceContext->Map(psMesh->pivb, 0, D3D11_MAP_WRITE_DISCARD, NULL, &data); in PVRTShadowVolMeshInitMesh()
431 if(FAILED(hRes)) in PVRTShadowVolMeshInitMesh()
498 HRESULT hRes; in PVRTShadowVolMeshInitVol() local
525 hRes = pContext->pDev->CreateBuffer(&sIdxBuferDesc, NULL, &psVol->piib) != S_OK; in PVRTShadowVolMeshInitVol()
527 if(FAILED(hRes)) { in PVRTShadowVolMeshInitVol()
648 HRESULT hRes; in PVRTShadowVolSilhouetteProjectedBuild() local
669 hRes = pDeviceContext->Map(psVol->piib, 0, D3D11_MAP_WRITE_DISCARD, NULL, &data); in PVRTShadowVolSilhouetteProjectedBuild()
672 _ASSERT(SUCCEEDED(hRes)); in PVRTShadowVolSilhouetteProjectedBuild()