Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11spikysphere/
Dd3d11spikysphere.cpp94 ID3D11DepthStencilView* zsv; member
101 : cur_width(-1), cur_height(-1), zsv(0) in d3d11spikysphere()
155 if(zsv) in draw()
156 zsv->Release(); in draw()
168 ensure(dev->CreateDepthStencilView(zsbuf, 0, &zsv)); in draw()
201 ctx->OMSetRenderTargets(1, &rtv, zsv); in draw()
218 ctx->ClearDepthStencilView(zsv, D3D11_CLEAR_DEPTH, 1.0f, 0); in draw()
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
Dd3d11gears.cpp254 ID3D11DepthStencilView* zsv; member
269 : cur_width(-1), cur_height(-1), zsv(0), offscreen_rtv(0), offscreen_srv(0) in d3d11gears()
313 if(zsv) in init_for_dimensions()
314 zsv->Release(); in init_for_dimensions()
326 ensure(dev->CreateDepthStencilView(zsbuf, 0, &zsv)); in init_for_dimensions()
437 ctx->OMSetRenderTargets(1, &rtv, zsv); in draw()
438 ctx->ClearDepthStencilView(zsv, D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, 1.0, 0); in draw()
452 ctx->ClearDepthStencilView(zsv, D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, 1.0, 0); in draw()
459 ctx->OMSetRenderTargets(0, 0, zsv); in draw()
464 ctx->OMSetRenderTargets(1, &render_rtv, zsv); in draw()