Lines Matching refs:rtvDesc

2677         D3D11_RENDER_TARGET_VIEW_DESC rtvDesc;  in build()  local
2678 memset(&rtvDesc, 0, sizeof(rtvDesc)); in build()
2679 rtvDesc.Format = dxgiFormat; in build()
2680 rtvDesc.ViewDimension = desc.SampleDesc.Count > 1 ? D3D11_RTV_DIMENSION_TEXTURE2DMS in build()
2682 hr = rhiD->dev->CreateRenderTargetView(tex, &rtvDesc, &rtv); in build()
3223 D3D11_RENDER_TARGET_VIEW_DESC rtvDesc; in build() local
3224 memset(&rtvDesc, 0, sizeof(rtvDesc)); in build()
3225 rtvDesc.Format = toD3DTextureFormat(texD->format(), texD->flags()); in build()
3227 rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2DARRAY; in build()
3228 rtvDesc.Texture2DArray.MipSlice = UINT(colorAtt.level()); in build()
3229 rtvDesc.Texture2DArray.FirstArraySlice = UINT(colorAtt.layer()); in build()
3230 rtvDesc.Texture2DArray.ArraySize = 1; in build()
3233 rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2DMS; in build()
3235 rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2D; in build()
3236 rtvDesc.Texture2D.MipSlice = UINT(colorAtt.level()); in build()
3239 HRESULT hr = rhiD->dev->CreateRenderTargetView(texD->tex, &rtvDesc, &rtv[attIndex]); in build()
4058 D3D11_RENDER_TARGET_VIEW_DESC rtvDesc; in newColorBuffer() local
4059 memset(&rtvDesc, 0, sizeof(rtvDesc)); in newColorBuffer()
4060 rtvDesc.Format = format; in newColorBuffer()
4061rtvDesc.ViewDimension = sampleDesc.Count > 1 ? D3D11_RTV_DIMENSION_TEXTURE2DMS : D3D11_RTV_DIMENSI… in newColorBuffer()
4062 hr = rhiD->dev->CreateRenderTargetView(*tex, &rtvDesc, rtv); in newColorBuffer()
4205 D3D11_RENDER_TARGET_VIEW_DESC rtvDesc; in buildOrResize() local
4206 memset(&rtvDesc, 0, sizeof(rtvDesc)); in buildOrResize()
4207 rtvDesc.Format = srgbAdjustedFormat; in buildOrResize()
4208 rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2D; in buildOrResize()
4209 hr = rhiD->dev->CreateRenderTargetView(backBufferTex, &rtvDesc, &backBufferRtv); in buildOrResize()