Searched refs:old_view (Results 1 – 2 of 2) sorted by relevance
806 struct pipe_sampler_view *old_view = nvc0->fbtexture; in nvc0_validate_fbread() local827 if (old_view && old_view->texture == sf->texture && in nvc0_validate_fbread()828 old_view->format == sf->format && in nvc0_validate_fbread()829 old_view->u.tex.first_level == sf->u.tex.level && in nvc0_validate_fbread()830 old_view->u.tex.first_layer == sf->u.tex.first_layer && in nvc0_validate_fbread()831 old_view->u.tex.last_layer == sf->u.tex.last_layer) in nvc0_validate_fbread()835 } else if (old_view == NULL) { in nvc0_validate_fbread()839 if (old_view) in nvc0_validate_fbread()
958 struct pipe_sampler_view *&old_view = ctx->sampler_views[shader_type][start_slot + i]; in d3d12_set_sampler_views() local959 if (old_view) in d3d12_set_sampler_views()960 d3d12_decrement_sampler_view_bind_count(pctx, shader_type, old_view); in d3d12_set_sampler_views()967 pipe_sampler_view_reference(&old_view, NULL); in d3d12_set_sampler_views()968 old_view = views[i]; in d3d12_set_sampler_views()970 pipe_sampler_view_reference(&old_view, views[i]); in d3d12_set_sampler_views()1003 … struct pipe_sampler_view *&old_view = ctx->sampler_views[shader_type][start_slot + num_views + i]; in d3d12_set_sampler_views() local1004 if (old_view) in d3d12_set_sampler_views()1005 d3d12_decrement_sampler_view_bind_count(pctx, shader_type, old_view); in d3d12_set_sampler_views()1006 pipe_sampler_view_reference(&old_view, NULL); in d3d12_set_sampler_views()