/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | Shader.cpp | 1225 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 …]
|
D | Resource.cpp | 157 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() 286 templat.last_level = pCreateResource->MipLevels - 1; in CreateResource() 313 pResource->NumSubResources = pCreateResource->MipLevels * pCreateResource->ArraySize; in CreateResource()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | ResourceManager11.cpp | 55 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()
|
D | RenderTarget11.cpp | 34 *mipLevels = texDesc.MipLevels; in GetTextureProperties() 47 *mipLevels = texDesc.MipLevels; in GetTextureProperties() 60 *mipLevels = texDesc.MipLevels; in GetTextureProperties()
|
D | ExternalImageSiblingImpl11.cpp | 175 srvDesc.Texture2DArray.MipLevels = 1; in createRenderTarget() 192 srvDesc.Texture2D.MipLevels = 1; in createRenderTarget()
|
D | TextureStorage11.cpp | 995 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 …]
|
D | SwapChain11.cpp | 257 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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | ResourceManager11.cpp | 55 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()
|
D | RenderTarget11.cpp | 34 *mipLevels = texDesc.MipLevels; in GetTextureProperties() 47 *mipLevels = texDesc.MipLevels; in GetTextureProperties() 60 *mipLevels = texDesc.MipLevels; in GetTextureProperties()
|
D | TextureStorage11.cpp | 870 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 …]
|
D | SwapChain11.cpp | 257 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/src/gpu/d3d/ |
D | GrD3DTextureResource.cpp | 45 SkASSERT(desc.MipLevels > 0); in InitTextureResourceInfo() 55 info->fLevelCount = desc.MipLevels; in InitTextureResourceInfo() 76 msTextureDesc.MipLevels = 1; in CreateMSAA()
|
D | GrD3DAttachment.cpp | 38 resourceDesc.MipLevels = 1; in MakeStencil()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_screen.cpp | 788 srv.Texture1D.MipLevels = 1; in d3d12_init_null_srvs() 794 srv.Texture1DArray.MipLevels = 1; in d3d12_init_null_srvs() 802 srv.Texture2D.MipLevels = 1; in d3d12_init_null_srvs() 809 srv.Texture2DArray.MipLevels = 1; in d3d12_init_null_srvs() 826 srv.Texture3D.MipLevels = 1; in d3d12_init_null_srvs() 832 srv.TextureCube.MipLevels = 1; in d3d12_init_null_srvs() 838 srv.TextureCubeArray.MipLevels = 1; in d3d12_init_null_srvs()
|
D | d3d12_bufmgr.cpp | 63 unsigned total_subresources = desc.MipLevels * in create_trans_state() 102 res_desc.MipLevels = 1; in d3d12_bo_new()
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_dx12.cpp | 89 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()
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_dx12.cpp | 184 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/skia/third_party/externals/d3d12allocator/src/ |
D | D3D12Sample.cpp | 564 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/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | TextureD3D12.cpp | 239 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()
|
D | StagingBufferD3D12.cpp | 32 resourceDescriptor.MipLevels = 1; in Initialize()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | StagingBufferD3D12.cpp | 35 resourceDescriptor.MipLevels = 1; in Initialize()
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLStreamTest.cpp | 491 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/angle2/src/tests/capture_replay_tests/ |
D | capture_replay_expectations.txt | 47 6286 : ImageTest.MipLevels/* = FAIL 90 6180 : ImageTest.MipLevels/* = FLAKY
|
/third_party/gstreamer/gstplugins_bad/tests/examples/d3d11/ |
D | d3d11device.cpp | 111 texture_desc.MipLevels = 1; in prepare_shared_texture() 131 srv_desc.Texture2D.MipLevels = 1; in prepare_shared_texture()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11screencapture.cpp | 274 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()
|