Home
last modified time | relevance | path

Searched refs:d3dDescriptor (Results 1 – 3 of 3) sorted by relevance

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/dawn/src/dawn_native/d3d12/
H A DTextureD3D12.cpp248 const D3D12_RESOURCE_DESC d3dDescriptor = d3d12Resource->GetDesc(); in ValidateD3D12TextureCanBeWrapped() local
249 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()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/dawn_native/d3d12/
H A DTextureD3D12.cpp353 const D3D12_RESOURCE_DESC d3dDescriptor = d3d12Resource->GetDesc(); in ValidateD3D12TextureCanBeWrapped() local
354 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()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/tests/end2end/
H A DD3D12ResourceWrappingTests.cpp298 const D3D11_TEXTURE2D_DESC* d3dDescriptor, in WrapAndClearD3D11Texture() argument
305 HRESULT hr = mD3d11Device->CreateTexture2D(d3dDescriptor, nullptr, &d3d11Texture); in WrapAndClearD3D11Texture()