Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
Dd3d11gears.cpp360 D3D11_TEXTURE2D_DESC offscreend; in init_for_dimensions() local
361 memset(&offscreend, 0, sizeof(offscreend)); in init_for_dimensions()
362 offscreend.Width = width; in init_for_dimensions()
363 offscreend.Height = height; in init_for_dimensions()
365 offscreend.Format = format; in init_for_dimensions()
366 offscreend.MipLevels = 1; in init_for_dimensions()
367 offscreend.ArraySize = 1; in init_for_dimensions()
368 offscreend.SampleDesc.Count = 1; in init_for_dimensions()
369 offscreend.BindFlags = D3D11_BIND_SHADER_RESOURCE | D3D11_BIND_RENDER_TARGET; in init_for_dimensions()
370 ensure(dev->CreateTexture2D(&offscreend, 0, &offscreen)); in init_for_dimensions()