Searched refs:sv_idx (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
D | output.c | 305 struct pipe_sampler_view *sv_idx = NULL, *sv_tbl = NULL; in vlVdpOutputSurfacePutBitsIndexed() local 372 sv_idx = context->create_sampler_view(context, res, &sv_tmpl); in vlVdpOutputSurfacePutBitsIndexed() 375 if (!sv_idx) in vlVdpOutputSurfacePutBitsIndexed() 411 vl_compositor_set_palette_layer(cstate, compositor, 0, sv_idx, sv_tbl, NULL, NULL, false); in vlVdpOutputSurfacePutBitsIndexed() 415 pipe_sampler_view_reference(&sv_idx, NULL); in vlVdpOutputSurfacePutBitsIndexed() 422 pipe_sampler_view_reference(&sv_idx, NULL); in vlVdpOutputSurfacePutBitsIndexed()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_execute.c | 967 int sv_idx = binding->stage[stage].sampler_view_index; in fill_sampler_view_stage() local 968 if (sv_idx == -1) in fill_sampler_view_stage() 970 sv_idx += array_idx; in fill_sampler_view_stage() 971 sv_idx += dyn_info->stage[stage].sampler_view_count; in fill_sampler_view_stage() 1022 if (state->sv[p_stage][sv_idx]) in fill_sampler_view_stage() 1023 pipe_sampler_view_reference(&state->sv[p_stage][sv_idx], NULL); in fill_sampler_view_stage() 1024 … state->sv[p_stage][sv_idx] = state->pctx->create_sampler_view(state->pctx, iv->image->bo, &templ); in fill_sampler_view_stage() 1025 if (state->num_sampler_views[p_stage] <= sv_idx) in fill_sampler_view_stage() 1026 state->num_sampler_views[p_stage] = sv_idx + 1; in fill_sampler_view_stage() 1038 int sv_idx = binding->stage[stage].sampler_view_index; in fill_sampler_buffer_view_stage() local [all …]
|