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()
997 struct pipe_sampler_view *&old_view = ctx->sampler_views[shader_type][start_slot + i]; in d3d12_set_sampler_views() local998 if (old_view) in d3d12_set_sampler_views()999 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()1007 old_view = views[i]; in d3d12_set_sampler_views()1009 pipe_sampler_view_reference(&old_view, views[i]); in d3d12_set_sampler_views()1042 … struct pipe_sampler_view *&old_view = ctx->sampler_views[shader_type][start_slot + num_views + i]; in d3d12_set_sampler_views() local1043 if (old_view) in d3d12_set_sampler_views()1044 d3d12_decrement_sampler_view_bind_count(pctx, shader_type, old_view); in d3d12_set_sampler_views()1045 pipe_sampler_view_reference(&old_view, NULL); in d3d12_set_sampler_views()