Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/d3d/d3d11/
DExternalImageSiblingImpl11.cpp162 D3D11_SHADER_RESOURCE_VIEW_DESC srvDesc; in createRenderTarget() local
163 srvDesc.Format = formatInfo.srvFormat; in createRenderTarget()
168 srvDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2DARRAY; in createRenderTarget()
169 srvDesc.Texture2DArray.MostDetailedMip = 0; in createRenderTarget()
170 srvDesc.Texture2DArray.MipLevels = 1; in createRenderTarget()
171 srvDesc.Texture2DArray.FirstArraySlice = mArraySlice; in createRenderTarget()
172 srvDesc.Texture2DArray.ArraySize = 1; in createRenderTarget()
176 srvDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY; in createRenderTarget()
177 srvDesc.Texture2DArray.FirstArraySlice = mArraySlice; in createRenderTarget()
178 srvDesc.Texture2DArray.ArraySize = 1; in createRenderTarget()
[all …]
DTextureStorage11.cpp1443 D3D11_SHADER_RESOURCE_VIEW_DESC srvDesc; in createSRVForSampler() local
1444 srvDesc.Format = format; in createSRVForSampler()
1445 srvDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D; in createSRVForSampler()
1446 srvDesc.Texture2D.MostDetailedMip = mTopLevel + baseLevel; in createSRVForSampler()
1447 srvDesc.Texture2D.MipLevels = mipLevels; in createSRVForSampler()
1472 ANGLE_TRY(mRenderer->allocateResource(GetImplAs<Context11>(context), srvDesc, srvTexture->get(), in createSRVForSampler()
1486 D3D11_SHADER_RESOURCE_VIEW_DESC srvDesc; in createSRVForImage() local
1487 srvDesc.Format = format; in createSRVForImage()
1488 srvDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D; in createSRVForImage()
1489 srvDesc.Texture2D.MostDetailedMip = mTopLevel + level; in createSRVForImage()
[all …]
DRenderer11.cpp2876 D3D11_SHADER_RESOURCE_VIEW_DESC srvDesc; in createRenderTarget() local
2877 srvDesc.Format = formatInfo.srvFormat; in createRenderTarget()
2878 srvDesc.ViewDimension = (supportedSamples == 0) ? D3D11_SRV_DIMENSION_TEXTURE2D in createRenderTarget()
2880 srvDesc.Texture2D.MostDetailedMip = 0; in createRenderTarget()
2881 srvDesc.Texture2D.MipLevels = 1; in createRenderTarget()
2883 ANGLE_TRY(allocateResource(context11, srvDesc, texture.get(), &srv)); in createRenderTarget()