Home | History | Annotate | Download | only in svga

Lines Matching refs:sv

47 svga_debug_describe_sampler_view(char *buf, const struct svga_sampler_view *sv)
50 debug_describe_resource(res, sv->texture);
51 util_sprintf(buf, "svga_sampler_view<%s,[%u,%u]>", res, sv->min_lod, sv->max_lod);
62 struct svga_sampler_view *sv = NULL;
96 svga_sampler_view_reference(&sv, tex->cached_view);
100 svga_validate_sampler_view(svga_context(pipe), sv);
101 return sv;
106 sv = CALLOC_STRUCT(svga_sampler_view);
107 pipe_reference_init(&sv->reference, 1);
112 sv->texture = pt;
114 sv->min_lod = min_lod;
115 sv->max_lod = max_lod;
127 sv->key.cachable = 0;
128 sv->handle = tex->handle;
129 debug_reference(&sv->reference,
131 return sv;
143 sv->age = tex->age;
144 sv->handle = svga_texture_view_surface(svga, tex, flags, format,
148 &sv->key);
150 if (!sv->handle) {
152 sv->key.cachable = 0;
153 sv->handle = tex->handle;
154 debug_reference(&sv->reference,
156 return sv;
160 svga_sampler_view_reference(&tex->cached_view, sv);
163 debug_reference(&sv->reference,
166 return sv;