Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_sampler.c137 SVGA3dShaderResourceViewDesc viewDesc; in svga_validate_pipe_sampler_view() local
174 viewDesc.buffer.firstElement = sv->base.u.buf.offset / elem_size; in svga_validate_pipe_sampler_view()
175 viewDesc.buffer.numElements = sv->base.u.buf.size / elem_size; in svga_validate_pipe_sampler_view()
178 viewDesc.tex.mostDetailedMip = sv->base.u.tex.first_level; in svga_validate_pipe_sampler_view()
179 viewDesc.tex.firstArraySlice = sv->base.u.tex.first_layer; in svga_validate_pipe_sampler_view()
180 viewDesc.tex.mipLevels = (sv->base.u.tex.last_level - in svga_validate_pipe_sampler_view()
190 viewDesc.tex.arraySize = in svga_validate_pipe_sampler_view()
228 &viewDesc); in svga_validate_pipe_sampler_view()
/external/skia/src/gpu/dawn/
DGrDawnProgramBuilder.cpp485 wgpu::TextureViewDescriptor viewDesc; in set_texture() local
487 viewDesc.mipLevelCount = GrSamplerState::MipmapMode::kNone == state.mipmapMode() ? 1 : 0; in set_texture()
488 wgpu::TextureView textureView = tex->texture().CreateView(&viewDesc); in set_texture()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp2499 D3D11_SHADER_RESOURCE_VIEW_DESC viewDesc; in copyImageInternal() local
2500 viewDesc.Format = sourceRenderTarget->getFormatSet().srvFormat; in copyImageInternal()
2501 viewDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D; in copyImageInternal()
2502 viewDesc.Texture2D.MipLevels = 1; in copyImageInternal()
2503 viewDesc.Texture2D.MostDetailedMip = 0; in copyImageInternal()
2506 ANGLE_TRY(allocateResource(GetImplAs<Context11>(context), viewDesc, tex.get(), &readSRV)); in copyImageInternal()
3566 D3D11_SHADER_RESOURCE_VIEW_DESC viewDesc; in blitRenderbufferRect() local
3567 viewDesc.Format = readFormatSet.srvFormat; in blitRenderbufferRect()
3568 viewDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D; in blitRenderbufferRect()
3569 viewDesc.Texture2D.MipLevels = 1; in blitRenderbufferRect()
[all …]