Searched refs:sv (Results 1 - 25 of 170) sorted by relevance

1234567

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_texture_state.c155 struct etna_sampler_view *sv = CALLOC_STRUCT(etna_sampler_view); local in function:etna_create_sampler_view_state
166 if (!sv)
171 free(sv);
175 sv->base = *so;
176 pipe_reference_init(&sv->base.reference, 1);
177 sv->base.texture = NULL;
178 pipe_resource_reference(&sv->base.texture, prsc);
179 sv->base.context = pctx;
182 sv->config0 =
183 VIVS_TE_SAMPLER_CONFIG0_TYPE(translate_texture_target(sv
298 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_ts_state
304 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_ts_state
310 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_ts_state
316 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_ts_state
346 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_new_texture_state
356 struct etna_sampler_view *sv; local in function:etna_emit_new_texture_state
379 struct etna_sampler_view *sv; local in function:etna_emit_new_texture_state
400 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_new_texture_state
428 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_new_texture_state
446 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_new_texture_state
478 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_texture_state
488 struct etna_sampler_view *sv; local in function:etna_emit_texture_state
511 struct etna_sampler_view *sv; local in function:etna_emit_texture_state
552 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_texture_state
562 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_texture_state
570 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_texture_state
586 struct etna_sampler_view *sv = etna_sampler_view(pview); local in function:etna_ts_for_sampler_view_state
[all...]
H A Detnaviv_texture_desc.c130 struct etna_sampler_view_desc *sv = CALLOC_STRUCT(etna_sampler_view_desc); local in function:etna_create_sampler_view_desc
139 if (!sv)
144 free(sv);
148 sv->base = *so;
149 pipe_reference_init(&sv->base.reference, 1);
150 sv->base.texture = NULL;
151 pipe_resource_reference(&sv->base.texture, prsc);
152 sv->base.context = pctx;
155 uint32_t target_hw = translate_texture_target(sv->base.target);
158 free(sv);
233 etna_sampler_view_update_descriptor(struct etna_context * ctx,struct etna_cmd_stream * stream,struct etna_sampler_view_desc * sv) argument
253 struct etna_sampler_view_desc *sv = etna_sampler_view_desc(so); local in function:etna_sampler_view_desc_destroy
269 struct etna_sampler_view_desc *sv = etna_sampler_view_desc(ctx->sampler_view[x]); local in function:etna_emit_texture_desc
294 struct etna_sampler_view_desc *sv = etna_sampler_view_desc(ctx->sampler_view[x]); local in function:etna_emit_texture_desc
319 struct etna_sampler_view_desc *sv = etna_sampler_view_desc(ctx->sampler_view[x]); local in function:etna_emit_texture_desc
346 struct etna_sampler_view_desc *sv = etna_sampler_view_desc(pview); local in function:etna_ts_for_sampler_view_state
[all...]
H A Detnaviv_format.h42 texture_use_int_filter(const struct pipe_sampler_view *sv,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_texture_state.c86 struct etna_sampler_view *sv = CALLOC_STRUCT(etna_sampler_view); local in function:etna_create_sampler_view_state
95 if (!sv)
100 free(sv);
104 sv->base = *so;
105 pipe_reference_init(&sv->base.reference, 1);
106 sv->base.texture = NULL;
107 pipe_resource_reference(&sv->base.texture, prsc);
108 sv->base.context = pctx;
111 sv->TE_SAMPLER_CONFIG0 = COND(!ext && !astc, VIVS_TE_SAMPLER_CONFIG0_FORMAT(format));
112 sv
215 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_texture_state
221 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_texture_state
227 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_texture_state
233 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_texture_state
246 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_texture_state
256 struct etna_sampler_view *sv; local in function:etna_emit_texture_state
273 struct etna_sampler_view *sv; local in function:etna_emit_texture_state
302 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_texture_state
312 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_texture_state
321 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); local in function:etna_emit_texture_state
336 struct etna_sampler_view *sv = etna_sampler_view(pview); local in function:etna_ts_for_sampler_view_state
[all...]
/xsrc/external/mit/libFS/dist/src/
H A DFSClServ.c62 FSServer **sv = &_FSHeadOfServerList; local in function:FSCloseServer
76 *sv = s->next;
80 sv = &(s->next);
81 s = *sv;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_sampler_view.c47 svga_debug_describe_sampler_view(char *buf, const struct svga_sampler_view *sv) argument
50 debug_describe_resource(res, sv->texture);
52 res, sv->min_lod, sv->max_lod);
64 struct svga_sampler_view *sv = NULL; local in function:svga_get_tex_sampler_view
98 svga_sampler_view_reference(&sv, tex->cached_view);
102 svga_validate_sampler_view(svga_context(pipe), sv);
103 return sv;
108 sv = CALLOC_STRUCT(svga_sampler_view);
109 if (!sv)
[all...]
H A Dsvga_state_sampler.c79 struct svga_pipe_sampler_view *sv = local in function:svga_check_sampler_view_resource_collision
82 if (sv && res == svga_resource_handle(sv->base.texture)) {
127 struct svga_pipe_sampler_view *sv)
131 if (sv->id == SVGA3D_INVALID_ID) {
133 struct pipe_resource *texture = sv->base.texture;
138 enum pipe_format viewFormat = sv->base.format;
169 unsigned elem_size = util_format_get_blocksize(sv->base.format);
171 viewDesc.buffer.firstElement = sv->base.u.buf.offset / elem_size;
172 viewDesc.buffer.numElements = sv
126 svga_validate_pipe_sampler_view(struct svga_context * svga,struct svga_pipe_sampler_view * sv) argument
255 struct svga_pipe_sampler_view *sv = local in function:update_sampler_resources
353 struct svga_pipe_sampler_view *sv = svga->polygon_stipple.sampler_view; local in function:update_sampler_resources
[all...]
H A Dsvga_sampler_view.h89 svga_debug_describe_sampler_view(char *buf, const struct svga_sampler_view *sv);
113 struct svga_pipe_sampler_view *sv);
H A Dsvga_pipe_sampler.c378 struct svga_pipe_sampler_view *sv = CALLOC_STRUCT(svga_pipe_sampler_view); local in function:svga_create_sampler_view
380 if (!sv) {
384 sv->base = *templ;
385 sv->base.reference.count = 1;
386 sv->base.texture = NULL;
387 pipe_resource_reference(&sv->base.texture, texture);
389 sv->base.context = pipe;
390 sv->id = SVGA3D_INVALID_ID;
396 return &sv->base;
405 struct svga_pipe_sampler_view *sv local in function:svga_sampler_view_destroy
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_sampler_view.c47 svga_debug_describe_sampler_view(char *buf, const struct svga_sampler_view *sv) argument
50 debug_describe_resource(res, sv->texture);
52 res, sv->min_lod, sv->max_lod);
64 struct svga_sampler_view *sv = NULL; local in function:svga_get_tex_sampler_view
98 svga_sampler_view_reference(&sv, tex->cached_view);
102 svga_validate_sampler_view(svga_context(pipe), sv);
103 return sv;
108 sv = CALLOC_STRUCT(svga_sampler_view);
109 if (!sv)
[all...]
H A Dsvga_state_sampler.c79 struct svga_pipe_sampler_view *sv = local in function:svga_check_sampler_view_resource_collision
82 if (sv && res == svga_resource_handle(sv->base.texture)) {
127 struct svga_pipe_sampler_view *sv)
131 if (sv->id == SVGA3D_INVALID_ID) {
133 struct pipe_resource *texture = sv->base.texture;
138 enum pipe_format viewFormat = sv->base.format;
172 unsigned elem_size = util_format_get_blocksize(sv->base.format);
174 viewDesc.buffer.firstElement = sv->base.u.buf.offset / elem_size;
175 viewDesc.buffer.numElements = sv
126 svga_validate_pipe_sampler_view(struct svga_context * svga,struct svga_pipe_sampler_view * sv) argument
257 struct svga_pipe_sampler_view *sv = local in function:update_sampler_resources
356 struct svga_pipe_sampler_view *sv = svga->polygon_stipple.sampler_view; local in function:update_sampler_resources
[all...]
H A Dsvga_sampler_view.h89 svga_debug_describe_sampler_view(char *buf, const struct svga_sampler_view *sv);
113 struct svga_pipe_sampler_view *sv);
H A Dsvga_pipe_sampler.c366 struct svga_pipe_sampler_view *sv = CALLOC_STRUCT(svga_pipe_sampler_view); local in function:svga_create_sampler_view
368 if (!sv) {
372 sv->base = *templ;
373 sv->base.reference.count = 1;
374 sv->base.texture = NULL;
375 pipe_resource_reference(&sv->base.texture, texture);
377 sv->base.context = pipe;
378 sv->id = SVGA3D_INVALID_ID;
384 return &sv->base;
393 struct svga_pipe_sampler_view *sv local in function:svga_sampler_view_destroy
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_sampler_view.c48 st_remove_private_references(struct st_sampler_view *sv) argument
50 if (sv->private_refcount) {
51 assert(sv->private_refcount > 0);
52 p_atomic_add(&sv->view->reference.count, -sv->private_refcount);
53 sv->private_refcount = 0;
59 get_sampler_view_reference(struct st_sampler_view *sv, argument
62 if (unlikely(sv->private_refcount <= 0)) {
63 assert(sv->private_refcount == 0);
66 sv
95 struct st_sampler_view *sv; local in function:st_texture_set_sampler_view
209 struct st_sampler_view *sv = &views->views[i]; local in function:st_texture_get_current_sampler_view
232 struct st_sampler_view *sv = &views->views[i]; local in function:st_texture_release_context_sampler_view
469 check_sampler_swizzle(const struct st_context * st,const struct st_texture_object * stObj,const struct pipe_sampler_view * sv,bool glsl130_or_later) argument
631 struct st_sampler_view *sv; local in function:st_get_texture_sampler_view_from_stobj
684 struct st_sampler_view *sv; local in function:st_get_buffer_sampler_view_from_stobj
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_fragtex.c43 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; local in function:nv30_fragtex_validate
48 if (ss && sv) {
49 const struct nv30_texfmt *fmt = nv30_texfmt(pscreen, sv->pipe.format);
50 struct pipe_resource *pt = sv->pipe.texture;
53 u32 filter = sv->filt | (ss->filt & sv->filt_mask);
54 u32 format = sv->fmt | ss->fmt;
61 if (sv->base_lod)
63 max_lod = sv->base_lod;
64 min_lod = sv
[all...]
H A Dnv40_verttex.c37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; local in function:nv40_verttex_validate
40 if (ss && sv) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_fragtex.c43 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; local in function:nv30_fragtex_validate
48 if (ss && sv) {
49 const struct nv30_texfmt *fmt = nv30_texfmt(pscreen, sv->pipe.format);
50 struct pipe_resource *pt = sv->pipe.texture;
53 u32 filter = sv->filt | (ss->filt & sv->filt_mask);
54 u32 format = sv->fmt | ss->fmt;
61 if (sv->base_lod)
63 max_lod = sv->base_lod;
64 min_lod = sv
[all...]
H A Dnv40_verttex.c37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; local in function:nv40_verttex_validate
40 if (ss && sv) {
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_sampler_view.c64 struct st_sampler_view *sv; local in function:st_texture_set_sampler_view
71 sv = &views->views[i];
74 if (sv->view) {
76 if (sv->view->context == st->pipe) {
77 pipe_sampler_view_reference(&sv->view, NULL);
82 free = sv;
88 sv = free;
138 sv = &views->views[views->count];
148 assert(sv->view == NULL);
150 sv
174 const struct st_sampler_view *sv = &views->views[i]; local in function:st_texture_get_current_sampler_view
197 struct pipe_sampler_view **sv = &views->views[i].view; local in function:st_texture_release_context_sampler_view
431 check_sampler_swizzle(const struct st_context * st,const struct st_texture_object * stObj,const struct pipe_sampler_view * sv,bool glsl130_or_later) argument
549 const struct st_sampler_view *sv; local in function:st_get_texture_sampler_view_from_stobj
597 const struct st_sampler_view *sv; local in function:st_get_buffer_sampler_view_from_stobj
[all...]
/xsrc/external/mit/freetype/dist/docs/reference/assets/javascripts/lunr/
H A Dlunr.sv.js17 !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r,l,n;e.sv=function(){this.pipeline.reset(),this.pipeline.add(e.sv.trimmer,e.sv.stopWordFilter,e.sv.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.sv.stemmer))},e.sv.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.sv.trimmer=e.trimmerSupport.generateTrimmer(e.sv.wordCharacters),e.Pipeline.registerFunction(e.sv.trimmer,"trimmer-sv"), class in class:e
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/xpr/
H A Dx-hash.h81 size_t sv = (size_t)val; local in function:X_PFX
82 unsigned int uv = (unsigned int)sv;
86 assert(sv == uv);
/xsrc/external/mit/xorg-server/dist/hw/xquartz/xpr/
H A Dx-hash.h80 size_t sv = (size_t)val; local in function:X_PFX
81 unsigned int uv = (unsigned int)sv;
85 assert(sv == uv);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/
H A Dtex-swizzle.c11 static struct pipe_sampler_view *sv = NULL; variable in typeref:struct:pipe_sampler_view *
146 sv = info.ctx->create_sampler_view(info.ctx, texture, &sv_template);
147 if (sv == NULL)
150 info.ctx->set_sampler_views(info.ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sv);
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/graw/
H A Dtex-swizzle.c11 static struct pipe_sampler_view *sv = NULL; variable in typeref:struct:pipe_sampler_view *
146 sv = info.ctx->create_sampler_view(info.ctx, texture, &sv_template);
147 if (sv == NULL)
150 info.ctx->set_sampler_views(info.ctx, PIPE_SHADER_FRAGMENT, 0, 1, 0, false, &sv);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_target_gm107.cpp167 return !isCS2RSV(insn->getSrc(0)->reg.data.sv.sv);
245 return isCS2RSV(insn->getSrc(0)->reg.data.sv.sv) ? 6 : 15;
338 TargetGM107::isCS2RSV(SVSemantic sv) const
340 return sv == SV_CLOCK;

Completed in 14 milliseconds

1234567