Home
last modified time | relevance | path

Searched refs:MipLevels (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_util.h29 inline void D3D12DecomposeSubresource( UINT Subresource, UINT MipLevels, UINT ArraySize, _Out_ T& M… in D3D12DecomposeSubresource() argument
31 MipSlice = static_cast<T>(Subresource % MipLevels); in D3D12DecomposeSubresource()
32 ArraySlice = static_cast<U>((Subresource / MipLevels) % ArraySize); in D3D12DecomposeSubresource()
33 PlaneSlice = static_cast<V>(Subresource / (MipLevels * ArraySize)); in D3D12DecomposeSubresource()
37 …2CalcSubresource( UINT MipSlice, UINT ArraySlice, UINT PlaneSlice, UINT MipLevels, UINT ArraySize … in D3D12CalcSubresource() argument
39 return MipSlice + ArraySlice * MipLevels + PlaneSlice * MipLevels * ArraySize; in D3D12CalcSubresource()
113 MipLevels = mipLevels; in CD3DX12_RESOURCE_DESC()
180 { return D3D12CalcSubresource(MipSlice, ArraySlice, PlaneSlice, MipLevels, ArraySize()); } in CalcSubresource()
189 l.MipLevels == r.MipLevels &&
Dd3d12_screen.cpp960 srv.Texture1D.MipLevels = 1; in d3d12_init_null_srvs()
966 srv.Texture1DArray.MipLevels = 1; in d3d12_init_null_srvs()
974 srv.Texture2D.MipLevels = 1; in d3d12_init_null_srvs()
981 srv.Texture2DArray.MipLevels = 1; in d3d12_init_null_srvs()
998 srv.Texture3D.MipLevels = 1; in d3d12_init_null_srvs()
1004 srv.TextureCube.MipLevels = 1; in d3d12_init_null_srvs()
1010 srv.TextureCubeArray.MipLevels = 1; in d3d12_init_null_srvs()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShader.cpp1225 desc.u.tex.last_level = pCreateSRView->Tex1D.MipLevels - 1 + desc.u.tex.first_level; in CreateShaderResourceView()
1228 assert(pCreateSRView->Tex1D.MipLevels != 0 && pCreateSRView->Tex1D.MipLevels != (UINT)-1); in CreateShaderResourceView()
1233 desc.u.tex.last_level = pCreateSRView->Tex2D.MipLevels - 1 + desc.u.tex.first_level; in CreateShaderResourceView()
1236 assert(pCreateSRView->Tex2D.MipLevels != 0 && pCreateSRView->Tex2D.MipLevels != (UINT)-1); in CreateShaderResourceView()
1241 desc.u.tex.last_level = pCreateSRView->Tex3D.MipLevels - 1 + desc.u.tex.first_level; in CreateShaderResourceView()
1243 assert(pCreateSRView->Tex3D.MipLevels != 0 && pCreateSRView->Tex3D.MipLevels != (UINT)-1); in CreateShaderResourceView()
1247 desc.u.tex.last_level = pCreateSRView->TexCube.MipLevels - 1 + desc.u.tex.first_level; in CreateShaderResourceView()
1249 assert(pCreateSRView->TexCube.MipLevels != 0 && pCreateSRView->TexCube.MipLevels != (UINT)-1); in CreateShaderResourceView()
1305 desc.u.tex.last_level = pCreateSRView->Tex1D.MipLevels - 1 + desc.u.tex.first_level; in CreateShaderResourceView1()
1308 assert(pCreateSRView->Tex1D.MipLevels != 0 && pCreateSRView->Tex1D.MipLevels != (UINT)-1); in CreateShaderResourceView1()
[all …]
DResource.cpp157 UINT MipLevels = resource->last_level + 1; in subResourceBox() local
163 *pLevel = SubResource % MipLevels; in subResourceBox()
164 layer = SubResource / MipLevels; in subResourceBox()
221 DebugPrintf(" MipLevels = %u\n", pCreateResource->MipLevels); in CreateResource()
265 pResource->MipLevels = pCreateResource->MipLevels; in CreateResource()
287 templat.last_level = pCreateResource->MipLevels - 1; in CreateResource()
314 pResource->NumSubResources = pCreateResource->MipLevels * pCreateResource->ArraySize; in CreateResource()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DResourceManager11.cpp55 return ComputeMippedMemoryUsage(desc->Width, desc->Height, 1, pixelBytes, desc->MipLevels); in ComputeMemoryUsage()
64 desc->MipLevels); in ComputeMemoryUsage()
302 for (UINT mipLevel = 0; mipLevel < desc->MipLevels; ++mipLevel) in ClearResource()
466 UINT subresourceCount = desc->MipLevels * desc->ArraySize; in createInitDataIfNeeded()
472 for (UINT mipLevel = 0; mipLevel < desc->MipLevels; ++mipLevel) in createInitDataIfNeeded()
476 UINT subresourceIndex = D3D11CalcSubresource(mipLevel, arrayIndex, desc->MipLevels); in createInitDataIfNeeded()
512 UINT subresourceCount = desc->MipLevels; in createInitDataIfNeeded()
518 for (UINT mipLevel = 0; mipLevel < desc->MipLevels; ++mipLevel) in createInitDataIfNeeded()
520 UINT subresourceIndex = D3D11CalcSubresource(mipLevel, 0, desc->MipLevels); in createInitDataIfNeeded()
DRenderTarget11.cpp34 *mipLevels = texDesc.MipLevels; in GetTextureProperties()
47 *mipLevels = texDesc.MipLevels; in GetTextureProperties()
60 *mipLevels = texDesc.MipLevels; in GetTextureProperties()
DTextureStorage11.cpp870 mMipLevels = texDesc.MipLevels; in TextureStorage11_2D()
1130 desc.MipLevels = mipLevels; in ensureTextureExists()
1274 srvDesc.Texture2D.MipLevels = mipLevels; in createSRVForSampler()
1317 srvDesc.Texture2D.MipLevels = 1; in createSRVForImage()
1353 desc.MipLevels = mMipLevels; in getSwizzleTexture()
1414 dropDesc.MipLevels = mMipLevels; in ensureDropStencilTexture()
1551 srvDesc.Texture2DArray.MipLevels = 1; in createSRVForSampler()
1752 desc.MipLevels = mMipLevels; in getSwizzleTexture()
1832 srvDesc.Texture2D.MipLevels = mipLevels; in createSRVForSampler()
2167 desc.MipLevels = mipLevels; in ensureTextureExists()
[all …]
DSwapChain11.cpp257 offscreenTextureDesc.MipLevels = 1; in resetOffscreenColorBuffer()
323 offscreenSRVDesc.Texture2D.MipLevels = static_cast<UINT>(-1); in resetOffscreenColorBuffer()
378 depthStencilTextureDesc.MipLevels = 1; in resetOffscreenDepthBuffer()
441 depthStencilSRVDesc.Texture2D.MipLevels = static_cast<UINT>(-1); in resetOffscreenDepthBuffer()
987 offscreenSRVDesc.Texture2D.MipLevels = static_cast<UINT>(-1); in getRenderTargetShaderResource()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DResourceManager11.cpp55 return ComputeMippedMemoryUsage(desc->Width, desc->Height, 1, pixelBytes, desc->MipLevels); in ComputeMemoryUsage()
64 desc->MipLevels); in ComputeMemoryUsage()
302 for (UINT mipLevel = 0; mipLevel < desc->MipLevels; ++mipLevel) in ClearResource()
470 UINT subresourceCount = desc->MipLevels * desc->ArraySize; in createInitDataIfNeeded()
476 for (UINT mipLevel = 0; mipLevel < desc->MipLevels; ++mipLevel) in createInitDataIfNeeded()
480 UINT subresourceIndex = D3D11CalcSubresource(mipLevel, arrayIndex, desc->MipLevels); in createInitDataIfNeeded()
520 UINT subresourceCount = desc->MipLevels; in createInitDataIfNeeded()
526 for (UINT mipLevel = 0; mipLevel < desc->MipLevels; ++mipLevel) in createInitDataIfNeeded()
528 UINT subresourceIndex = D3D11CalcSubresource(mipLevel, 0, desc->MipLevels); in createInitDataIfNeeded()
DRenderTarget11.cpp34 *mipLevels = texDesc.MipLevels; in GetTextureProperties()
47 *mipLevels = texDesc.MipLevels; in GetTextureProperties()
60 *mipLevels = texDesc.MipLevels; in GetTextureProperties()
DTextureStorage11.cpp995 mMipLevels = texDesc.MipLevels; in TextureStorage11_2D()
1274 desc.MipLevels = mipLevels; in ensureTextureExists()
1463 srvDesc.Texture2D.MipLevels = mipLevels; in createSRVForSampler()
1506 srvDesc.Texture2D.MipLevels = 1; in createSRVForImage()
1542 desc.MipLevels = mMipLevels; in getSwizzleTexture()
1603 dropDesc.MipLevels = mMipLevels; in ensureDropStencilTexture()
1762 srvDesc.Texture2DArray.MipLevels = 1; in createSRVForSampler()
1986 desc.MipLevels = mMipLevels; in getSwizzleTexture()
2066 srvDesc.Texture2D.MipLevels = mipLevels; in createSRVForSampler()
2412 desc.MipLevels = mipLevels; in ensureTextureExists()
[all …]
DExternalImageSiblingImpl11.cpp175 srvDesc.Texture2DArray.MipLevels = 1; in createRenderTarget()
192 srvDesc.Texture2D.MipLevels = 1; in createRenderTarget()
DSwapChain11.cpp257 offscreenTextureDesc.MipLevels = 1; in resetOffscreenColorBuffer()
329 offscreenSRVDesc.Texture2D.MipLevels = static_cast<UINT>(-1); in resetOffscreenColorBuffer()
390 depthStencilTextureDesc.MipLevels = 1; in resetOffscreenDepthBuffer()
453 depthStencilSRVDesc.Texture2D.MipLevels = static_cast<UINT>(-1); in resetOffscreenDepthBuffer()
1005 offscreenSRVDesc.Texture2D.MipLevels = static_cast<UINT>(-1); in getRenderTargetShaderResource()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_image.c134 .MipLevels = 1, in dzn_image_create()
153 image->desc.MipLevels = 1; in dzn_image_create()
167 image->desc.MipLevels = pCreateInfo->mipLevels; in dzn_image_create()
317 ((subres->baseArrayLayer + layer) * image->desc.MipLevels) + in dzn_image_layers_get_subresource_index()
318 (planeSlice * image->desc.MipLevels * image->desc.DepthOrArraySize); in dzn_image_layers_get_subresource_index()
331 ((subres->baseArrayLayer + layer) * image->desc.MipLevels) + in dzn_image_range_get_subresource_index()
332 (planeSlice * image->desc.MipLevels * image->desc.DepthOrArraySize); in dzn_image_range_get_subresource_index()
344 (subres->arrayLayer * image->desc.MipLevels) + in dzn_image_get_subresource_index()
345 (planeSlice * image->desc.MipLevels * image->desc.DepthOrArraySize); in dzn_image_get_subresource_index()
896 iview->srv_desc.Texture1DArray.MipLevels = iview->vk.level_count; in dzn_image_view_prepare_srv_desc()
[all …]
/third_party/skia/src/gpu/d3d/
DGrD3DTextureResource.cpp45 SkASSERT(desc.MipLevels > 0); in InitTextureResourceInfo()
55 info->fLevelCount = desc.MipLevels; in InitTextureResourceInfo()
76 msTextureDesc.MipLevels = 1; in CreateMSAA()
/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_dx12.cpp89 desc.MipLevels = 1; in ImGui_ImplDX12_RenderDrawData()
114 desc.MipLevels = 1; in ImGui_ImplDX12_RenderDrawData()
249 desc.MipLevels = 1; in ImGui_ImplDX12_CreateFontsTexture()
267 desc.MipLevels = 1; in ImGui_ImplDX12_CreateFontsTexture()
362 srvDesc.Texture2D.MipLevels = desc.MipLevels; in ImGui_ImplDX12_CreateFontsTexture()
Dimgui_impl_dx10.cpp261 desc.MipLevels = 1; in ImGui_ImplDX10_CreateFontsTexture()
281 srv_desc.Texture2D.MipLevels = desc.MipLevels; in ImGui_ImplDX10_CreateFontsTexture()
/third_party/skia/third_party/externals/d3d12allocator/src/
DD3D12Sample.cpp564 depthStencilResourceDesc.MipLevels = 1; in InitD3D()
687 constantBufferResourceDesc.MipLevels = 1; in InitD3D()
810 vertexBufferResourceDesc.MipLevels = 1; in InitD3D()
841 vertexBufferUploadResourceDesc.MipLevels = 1; in InitD3D()
922 indexBufferResourceDesc.MipLevels = 1; in InitD3D()
948 indexBufferUploadResourceDesc.MipLevels = 1; in InitD3D()
1003 cbPerObjectUploadResourceDesc.MipLevels = 1; in InitD3D()
1064 textureDesc.MipLevels = 1; in InitD3D()
1102 textureUploadResourceDesc.MipLevels = 1; in InitD3D()
1138 srvDesc.Texture2D.MipLevels = 1; in InitD3D()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_dx12.cpp184 desc.MipLevels = 1; in ImGui_ImplDX12_RenderDrawData()
207 desc.MipLevels = 1; in ImGui_ImplDX12_RenderDrawData()
306 desc.MipLevels = 1; in ImGui_ImplDX12_CreateFontsTexture()
324 desc.MipLevels = 1; in ImGui_ImplDX12_CreateFontsTexture()
419 srvDesc.Texture2D.MipLevels = desc.MipLevels; in ImGui_ImplDX12_CreateFontsTexture()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.cpp239 resourceDescriptor.MipLevels = static_cast<UINT16>(GetNumMipLevels()); in Texture()
284 for (int i = 0; i < resourceDescriptor.MipLevels; i++) { in Texture()
553 mSrvDesc.Texture2DArray.MipLevels = descriptor->mipLevelCount; in TextureView()
566 mSrvDesc.TextureCubeArray.MipLevels = descriptor->mipLevelCount; in TextureView()
DStagingBufferD3D12.cpp32 resourceDescriptor.MipLevels = 1; in Initialize()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLStreamTest.cpp491 desc.MipLevels = 1; in TEST_P()
604 desc.MipLevels = 1; in TEST_P()
749 desc.MipLevels = 1; in TEST_P()
922 desc.MipLevels = 1; in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DStagingBufferD3D12.cpp35 resourceDescriptor.MipLevels = 1; in Initialize()
DTextureD3D12.cpp472 DAWN_INVALID_IF(d3dDescriptor.MipLevels != 1, in ValidateD3D12TextureCanBeWrapped()
474 d3dDescriptor.MipLevels); in ValidateD3D12TextureCanBeWrapped()
606 resourceDescriptor.MipLevels = static_cast<UINT16>(GetNumMipLevels()); in InitializeAsInternalTexture()
1263 mSrvDesc.Texture2DArray.MipLevels = descriptor->mipLevelCount; in TextureView()
1276 mSrvDesc.TextureCubeArray.MipLevels = descriptor->mipLevelCount; in TextureView()
1283 mSrvDesc.Texture3D.MipLevels = descriptor->mipLevelCount; in TextureView()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11screencapture.cpp274 texture_desc.MipLevels = 1; in Init()
398 Desc.MipLevels = 1; in DrawMouse()
411 SDesc.Texture2D.MostDetailedMip = Desc.MipLevels - 1; in DrawMouse()
412 SDesc.Texture2D.MipLevels = Desc.MipLevels; in DrawMouse()
1198 ShaderDesc.Texture2D.MostDetailedMip = ThisDesc.MipLevels - 1; in CopyDirty()
1199 ShaderDesc.Texture2D.MipLevels = ThisDesc.MipLevels; in CopyDirty()
1354 CopyBufferDesc.MipLevels = 1; in ProcessMonoMask()

1234