Searched refs:viewDesc (Results 1 – 3 of 3) sorted by relevance
137 SVGA3dShaderResourceViewDesc viewDesc; in svga_validate_pipe_sampler_view() local174 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()
485 wgpu::TextureViewDescriptor viewDesc; in set_texture() local487 viewDesc.mipLevelCount = GrSamplerState::MipmapMode::kNone == state.mipmapMode() ? 1 : 0; in set_texture()488 wgpu::TextureView textureView = tex->texture().CreateView(&viewDesc); in set_texture()
2499 D3D11_SHADER_RESOURCE_VIEW_DESC viewDesc; in copyImageInternal() local2500 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() local3567 viewDesc.Format = readFormatSet.srvFormat; in blitRenderbufferRect()3568 viewDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D; in blitRenderbufferRect()3569 viewDesc.Texture2D.MipLevels = 1; in blitRenderbufferRect()[all …]