Searched refs:d3dDescriptor (Results 1 – 3 of 3) sorted by relevance
248 const D3D12_RESOURCE_DESC d3dDescriptor = d3d12Resource->GetDesc(); in ValidateD3D12TextureCanBeWrapped() local249 if ((dawnDescriptor->size.width != d3dDescriptor.Width) || in ValidateD3D12TextureCanBeWrapped()250 (dawnDescriptor->size.height != d3dDescriptor.Height) || in ValidateD3D12TextureCanBeWrapped()256 if (dxgiFormatFromDescriptor != d3dDescriptor.Format) { in ValidateD3D12TextureCanBeWrapped()261 if (d3dDescriptor.MipLevels != 1) { in ValidateD3D12TextureCanBeWrapped()265 if (d3dDescriptor.DepthOrArraySize != 1) { in ValidateD3D12TextureCanBeWrapped()270 ASSERT(d3dDescriptor.SampleDesc.Count == 1); in ValidateD3D12TextureCanBeWrapped()271 ASSERT(d3dDescriptor.SampleDesc.Quality == 0); in ValidateD3D12TextureCanBeWrapped()
353 const D3D12_RESOURCE_DESC d3dDescriptor = d3d12Resource->GetDesc(); in ValidateD3D12TextureCanBeWrapped() local354 if ((dawnDescriptor->size.width != d3dDescriptor.Width) || in ValidateD3D12TextureCanBeWrapped()355 (dawnDescriptor->size.height != d3dDescriptor.Height) || in ValidateD3D12TextureCanBeWrapped()361 if (dxgiFormatFromDescriptor != d3dDescriptor.Format) { in ValidateD3D12TextureCanBeWrapped()366 if (d3dDescriptor.MipLevels != 1) { in ValidateD3D12TextureCanBeWrapped()370 if (d3dDescriptor.DepthOrArraySize != 1) { in ValidateD3D12TextureCanBeWrapped()375 ASSERT(d3dDescriptor.SampleDesc.Count == 1); in ValidateD3D12TextureCanBeWrapped()376 ASSERT(d3dDescriptor.SampleDesc.Quality == 0); in ValidateD3D12TextureCanBeWrapped()
298 const D3D11_TEXTURE2D_DESC* d3dDescriptor, in WrapAndClearD3D11Texture() argument305 HRESULT hr = mD3d11Device->CreateTexture2D(d3dDescriptor, nullptr, &d3d11Texture); in WrapAndClearD3D11Texture()