Home
last modified time | relevance | path

Searched refs:rtvDesc (Results 1 – 4 of 4) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/d3d11/
DExternalImageSiblingImpl11.cpp124 D3D11_RENDER_TARGET_VIEW_DESC rtvDesc; in createRenderTarget() local
125 rtvDesc.Format = formatInfo.rtvFormat; in createRenderTarget()
130 rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2DARRAY; in createRenderTarget()
131 rtvDesc.Texture2DArray.MipSlice = 0; in createRenderTarget()
132 rtvDesc.Texture2DArray.FirstArraySlice = mArraySlice; in createRenderTarget()
133 rtvDesc.Texture2DArray.ArraySize = 1; in createRenderTarget()
137 rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY; in createRenderTarget()
138 rtvDesc.Texture2DMSArray.FirstArraySlice = mArraySlice; in createRenderTarget()
139 rtvDesc.Texture2DMSArray.ArraySize = 1; in createRenderTarget()
146 rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2D; in createRenderTarget()
[all …]
DRenderTarget11.cpp71 D3D11_RENDER_TARGET_VIEW_DESC rtvDesc; in GetRTVSubresourceIndex() local
72 view->GetDesc(&rtvDesc); in GetRTVSubresourceIndex()
77 switch (rtvDesc.ViewDimension) in GetRTVSubresourceIndex()
80 mipSlice = rtvDesc.Texture1D.MipSlice; in GetRTVSubresourceIndex()
85 mipSlice = rtvDesc.Texture1DArray.MipSlice; in GetRTVSubresourceIndex()
86 arraySlice = rtvDesc.Texture1DArray.FirstArraySlice; in GetRTVSubresourceIndex()
90 mipSlice = rtvDesc.Texture2D.MipSlice; in GetRTVSubresourceIndex()
95 mipSlice = rtvDesc.Texture2DArray.MipSlice; in GetRTVSubresourceIndex()
96 arraySlice = rtvDesc.Texture2DArray.FirstArraySlice; in GetRTVSubresourceIndex()
106 arraySlice = rtvDesc.Texture2DMSArray.FirstArraySlice; in GetRTVSubresourceIndex()
[all …]
DTextureStorage11.cpp1375 D3D11_RENDER_TARGET_VIEW_DESC rtvDesc; in getRenderTarget() local
1376 rtvDesc.Format = mFormatInfo.rtvFormat; in getRenderTarget()
1377 rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2D; in getRenderTarget()
1378 rtvDesc.Texture2D.MipSlice = mTopLevel + level; in getRenderTarget()
1382 mRenderer->allocateResource(context11, rtvDesc, mLevelZeroTexture.get(), &rtv)); in getRenderTarget()
1397 D3D11_RENDER_TARGET_VIEW_DESC rtvDesc; in getRenderTarget() local
1398 rtvDesc.Format = mFormatInfo.rtvFormat; in getRenderTarget()
1399 rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2D; in getRenderTarget()
1400 rtvDesc.Texture2D.MipSlice = mTopLevel + level; in getRenderTarget()
1403 ANGLE_TRY(mRenderer->allocateResource(context11, rtvDesc, texture->get(), &rtv)); in getRenderTarget()
[all …]
DRenderer11.cpp2923 D3D11_RENDER_TARGET_VIEW_DESC rtvDesc; in createRenderTarget() local
2924 rtvDesc.Format = formatInfo.rtvFormat; in createRenderTarget()
2925 rtvDesc.ViewDimension = (supportedSamples == 0) ? D3D11_RTV_DIMENSION_TEXTURE2D in createRenderTarget()
2927 rtvDesc.Texture2D.MipSlice = 0; in createRenderTarget()
2930 ANGLE_TRY(allocateResource(context11, rtvDesc, texture.get(), &rtv)); in createRenderTarget()