Searched refs:stagingDesc (Results 1 – 2 of 2) sorted by relevance
4314 D3D11_TEXTURE2D_DESC stagingDesc; in createStagingTexture() local4315 stagingDesc.Width = size.width; in createStagingTexture()4316 stagingDesc.Height = size.height; in createStagingTexture()4317 stagingDesc.MipLevels = 1; in createStagingTexture()4318 stagingDesc.ArraySize = 1; in createStagingTexture()4319 stagingDesc.Format = formatSet.texFormat; in createStagingTexture()4320 stagingDesc.SampleDesc.Count = 1; in createStagingTexture()4321 stagingDesc.SampleDesc.Quality = 0; in createStagingTexture()4322 stagingDesc.Usage = D3D11_USAGE_STAGING; in createStagingTexture()4323 stagingDesc.BindFlags = 0; in createStagingTexture()[all …]
1935 CD3D11_TEXTURE2D_DESC stagingDesc = desc; in RunYUVRenderTest() local1936 stagingDesc.BindFlags = 0; in RunYUVRenderTest()1937 stagingDesc.Usage = D3D11_USAGE_STAGING; in RunYUVRenderTest()1938 stagingDesc.CPUAccessFlags = D3D11_CPU_ACCESS_READ; in RunYUVRenderTest()1941 SUCCEEDED(mD3D11Device->CreateTexture2D(&stagingDesc, nullptr, &stagingTexture))); in RunYUVRenderTest()2116 CD3D11_TEXTURE2D_DESC stagingDesc = desc; in RunYUVReadPixelTest() local2117 stagingDesc.BindFlags = 0; in RunYUVReadPixelTest()2118 stagingDesc.Usage = D3D11_USAGE_STAGING; in RunYUVReadPixelTest()2119 stagingDesc.CPUAccessFlags = D3D11_CPU_ACCESS_READ; in RunYUVReadPixelTest()2122 SUCCEEDED(mD3D11Device->CreateTexture2D(&stagingDesc, nullptr, &stagingTexture))); in RunYUVReadPixelTest()