Home
last modified time | relevance | path

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

123

/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()
Dd3d12_bufmgr.cpp90 …unsigned total_subresources = desc.MipLevels * array_size * d3d12_non_opaque_plane_count(desc.Form… in d3d12_bo_wrap_res()
125 res_desc.MipLevels = 1; in d3d12_bo_new()
Dd3d12_video_dec_references_mgr.h193 refDesc.MipLevels, in update_entries()
/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/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()
DImage11.cpp479 resolveDesc.MipLevels = 1; in copyWithoutConversion()
558 desc.MipLevels = lodOffset + 1; in createStagingTexture()
594 desc.MipLevels = lodOffset + 1; in createStagingTexture()
/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()
DGrD3DAttachment.cpp38 resourceDesc.MipLevels = 1; in MakeStencil()
/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()
DTests.cpp72 outResourceDesc.MipLevels = 1; in FillResourceDescForBuffer()
396 resourceDesc.MipLevels = 1; in TestCustomHeapFlags()
487 resourceDesc.MipLevels = 1; in TestPlacedResources()
510 resourceDesc.MipLevels = 1; in TestPlacedResources()
749 resDesc1.MipLevels = 1; in TestAliasingMemory()
762 resDesc2.MipLevels = 0; in TestAliasingMemory()
/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()
Dimgui_impl_dx10.cpp309 desc.MipLevels = 1; in ImGui_ImplDX10_CreateFontsTexture()
330 srv_desc.Texture2D.MipLevels = desc.MipLevels; in ImGui_ImplDX10_CreateFontsTexture()
Dimgui_impl_dx11.cpp321 desc.MipLevels = 1; in ImGui_ImplDX11_CreateFontsTexture()
342 srvDesc.Texture2D.MipLevels = desc.MipLevels; in ImGui_ImplDX11_CreateFontsTexture()
/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/ffmpeg/libavutil/
Dhwcontext_d3d11va.c207 .MipLevels = 1, in d3d11va_alloc_single()
271 .MipLevels = 1, in d3d11va_frames_init()
361 .MipLevels = 1, in d3d11va_create_staging_texture()
/third_party/skia/third_party/externals/angle2/src/tests/capture_replay_tests/
Dcapture_replay_expectations.txt47 6286 : ImageTest.MipLevels/* = FAIL
90 6180 : ImageTest.MipLevels/* = FLAKY

123