Searched refs:fetch (Results 1 - 25 of 100) sorted by relevance

1234

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_pt_fetch.c50 * Perform the fetch from API vertex elements & vertex buffers, to a
60 draw_pt_fetch_prepare(struct pt_fetch *fetch, argument
65 struct draw_context *draw = fetch->draw;
72 fetch->vertex_size = vertex_size;
138 if (!fetch->translate ||
139 translate_key_compare(&fetch->translate->key, &key) != 0)
142 fetch->translate = translate_cache_find(fetch->cache, &key);
148 draw_pt_fetch_run(struct pt_fetch *fetch, argument
153 struct draw_context *draw = fetch
176 draw_pt_fetch_run_linear(struct pt_fetch * fetch,unsigned start,unsigned count,char * verts) argument
206 struct pt_fetch *fetch = CALLOC_STRUCT(pt_fetch); local in function:draw_pt_fetch_create
222 draw_pt_fetch_destroy(struct pt_fetch * fetch) argument
[all...]
H A Ddraw_pt_vsplit.c56 /* map a fetch element to a draw element */
85 * Add a fetch element and add it to the draw elements.
88 vsplit_add_cache(struct vsplit_frontend *vsplit, unsigned fetch) argument
92 hash = fetch % MAP_SIZE;
96 if (vsplit->cache.fetches[hash] != fetch) {
98 vsplit->cache.fetches[hash] = fetch;
101 /* add fetch */
103 vsplit->fetch_elts[vsplit->cache.num_fetch_elts++] = fetch;
114 vsplit_get_base_idx(unsigned start, unsigned fetch) argument
116 return draw_overflow_uadd(start, fetch, MAX_ELT_ID
121 vsplit_add_cache_ubyte(struct vsplit_frontend * vsplit,const ubyte * elts,unsigned start,unsigned fetch,int elt_bias) argument
138 vsplit_add_cache_ushort(struct vsplit_frontend * vsplit,const ushort * elts,unsigned start,unsigned fetch,int elt_bias) argument
160 vsplit_add_cache_uint(struct vsplit_frontend * vsplit,const uint * elts,unsigned start,unsigned fetch,int elt_bias) argument
[all...]
H A Ddraw_vs_variant.c42 /* A first pass at incorporating vertex fetch/emit functionality into
56 struct translate *fetch; member in struct:draw_vs_variant_generic
74 vsvg->fetch->set_buffer(vsvg->fetch,
168 vsvg->fetch->run_elts( vsvg->fetch,
236 vsvg->fetch->run( vsvg->fetch,
302 struct translate_key fetch, emit; local in function:draw_vs_create_variant_generic
320 /* Build free-standing fetch an
[all...]
H A Ddraw_pt.h50 /* The "front end" - prepare sets of fetch, draw elements for the
53 * The fetch elements are indices to the vertices. The draw elements are
55 * linear, middle->run_linear is called; When only the fetch elements are
60 * the draw elements (as well as the fetch elements) are splitted and the
87 * - fetch, vertex shade, cliptest, prim-pipeline
88 * - fetch, emit (ie passthrough)
200 * API vertex fetch:
204 void draw_pt_fetch_prepare( struct pt_fetch *fetch,
209 void draw_pt_fetch_run( struct pt_fetch *fetch,
214 void draw_pt_fetch_run_linear( struct pt_fetch *fetch,
[all...]
H A Ddraw_pt_fetch_shade_pipeline.c46 struct pt_fetch *fetch; member in struct:fetch_pipeline_middle_end
110 draw_pt_fetch_prepare( fpme->fetch,
156 static void fetch( struct pt_fetch *fetch, argument
161 draw_pt_fetch_run_linear( fetch,
167 draw_pt_fetch_run( fetch,
271 fetch( fpme->fetch, fetch_info, (char *)fetched_vert_info.verts );
277 * Need fetch info to get vertex id correct.
291 /* Finished with fetch
[all...]
H A Ddraw_vs.c224 if (!draw->vs.fetch ||
225 translate_key_compare(&draw->vs.fetch->key, key) != 0)
228 draw->vs.fetch = translate_cache_find(draw->vs.fetch_cache, key);
231 return draw->vs.fetch;
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_pt_fetch.c50 * Perform the fetch from API vertex elements & vertex buffers, to a
55 draw_pt_fetch_prepare(struct pt_fetch *fetch, argument
60 struct draw_context *draw = fetch->draw;
67 fetch->vertex_size = vertex_size;
133 if (!fetch->translate ||
134 translate_key_compare(&fetch->translate->key, &key) != 0)
137 fetch->translate = translate_cache_find(fetch->cache, &key);
143 draw_pt_fetch_run(struct pt_fetch *fetch, argument
148 struct draw_context *draw = fetch
171 draw_pt_fetch_run_linear(struct pt_fetch * fetch,unsigned start,unsigned count,char * verts) argument
201 struct pt_fetch *fetch = CALLOC_STRUCT(pt_fetch); local in function:draw_pt_fetch_create
217 draw_pt_fetch_destroy(struct pt_fetch * fetch) argument
[all...]
H A Ddraw_pt_vsplit.c56 /* map a fetch element to a draw element */
85 * Add a fetch element and add it to the draw elements.
88 vsplit_add_cache(struct vsplit_frontend *vsplit, unsigned fetch) argument
92 hash = fetch % MAP_SIZE;
96 if (vsplit->cache.fetches[hash] != fetch) {
98 vsplit->cache.fetches[hash] = fetch;
101 /* add fetch */
103 vsplit->fetch_elts[vsplit->cache.num_fetch_elts++] = fetch;
114 vsplit_get_base_idx(unsigned start, unsigned fetch) argument
116 return draw_overflow_uadd(start, fetch, MAX_ELT_ID
121 vsplit_add_cache_ubyte(struct vsplit_frontend * vsplit,const ubyte * elts,unsigned start,unsigned fetch,int elt_bias) argument
138 vsplit_add_cache_ushort(struct vsplit_frontend * vsplit,const ushort * elts,unsigned start,unsigned fetch,int elt_bias) argument
160 vsplit_add_cache_uint(struct vsplit_frontend * vsplit,const uint * elts,unsigned start,unsigned fetch,int elt_bias) argument
[all...]
H A Ddraw_vs_variant.c42 /* A first pass at incorporating vertex fetch/emit functionality into
56 struct translate *fetch; member in struct:draw_vs_variant_generic
74 vsvg->fetch->set_buffer(vsvg->fetch,
169 vsvg->fetch->run_elts( vsvg->fetch,
238 vsvg->fetch->run( vsvg->fetch,
304 struct translate_key fetch, emit; local in function:draw_vs_create_variant_generic
322 /* Build free-standing fetch an
[all...]
H A Ddraw_pt.h50 /* The "front end" - prepare sets of fetch, draw elements for the
53 * The fetch elements are indices to the vertices. The draw elements are
55 * linear, middle->run_linear is called; When only the fetch elements are
60 * the draw elements (as well as the fetch elements) are splitted and the
87 * - fetch, vertex shade, cliptest, prim-pipeline
88 * - fetch, emit (ie passthrough)
195 * API vertex fetch:
199 void draw_pt_fetch_prepare( struct pt_fetch *fetch,
204 void draw_pt_fetch_run( struct pt_fetch *fetch,
209 void draw_pt_fetch_run_linear( struct pt_fetch *fetch,
[all...]
H A Ddraw_pt_fetch_shade_pipeline.c46 struct pt_fetch *fetch; member in struct:fetch_pipeline_middle_end
110 draw_pt_fetch_prepare( fpme->fetch,
156 static void fetch( struct pt_fetch *fetch, argument
161 draw_pt_fetch_run_linear( fetch,
167 draw_pt_fetch_run( fetch,
273 fetch( fpme->fetch, fetch_info, (char *)fetched_vert_info.verts );
279 * Need fetch info to get vertex id correct.
293 /* Finished with fetch
[all...]
H A Ddraw_vs.c239 if (!draw->vs.fetch ||
240 translate_key_compare(&draw->vs.fetch->key, key) != 0)
243 draw->vs.fetch = translate_cache_find(draw->vs.fetch_cache, key);
246 return draw->vs.fetch;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dir2_assemble.c115 /* fetch instructions can swizzle dest, but src swizzle needs conversion */
176 bc->fetch.opc = instr->fetch.opc;
177 bc->fetch.pred_select = !!instr->pred;
178 bc->fetch.pred_condition = instr->pred & 1;
182 if (instr->fetch.opc == VTX_FETCH) {
183 instr_fetch_vtx_t *vtx = &bc->fetch.vtx;
185 assert(instr->fetch.vtx.const_idx <= 0x1f);
186 assert(instr->fetch.vtx.const_idx_sel <= 0x3);
194 vtx->const_index = instr->fetch
[all...]
H A Ddisasm-a2xx.c325 static void print_fetch_vtx(instr_fetch_t *fetch) argument
327 instr_fetch_vtx_t *vtx = &fetch->vtx;
361 static void print_fetch_tex(instr_fetch_t *fetch) argument
388 instr_fetch_tex_t *tex = &fetch->tex;
455 instr_fetch_t *fetch = (instr_fetch_t *)dwords; local in function:disasm_fetch
464 printf("%s", fetch_instructions[fetch->opc].name);
465 fetch_instructions[fetch->opc].fxn(fetch);
H A Dir2_private.h60 uint8_t c : 3; /* assigned x/y/z/w (7=dont write, for fetch instr) */
120 } fetch; member in union:ir2_instr::__anon0ec1ae09030a
365 switch (instr->fetch.opc) {
369 return instr->fetch.tex.is_cube ? 3 : 2;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dir2_assemble.c116 /* fetch instructions can swizzle dest, but src swizzle needs conversion */
179 bc->fetch.opc = instr->fetch.opc;
180 bc->fetch.pred_select = !!instr->pred;
181 bc->fetch.pred_condition = instr->pred & 1;
185 if (instr->fetch.opc == VTX_FETCH) {
186 instr_fetch_vtx_t *vtx = &bc->fetch.vtx;
188 assert(instr->fetch.vtx.const_idx <= 0x1f);
189 assert(instr->fetch.vtx.const_idx_sel <= 0x3);
197 vtx->const_index = instr->fetch
[all...]
H A Dir2_private.h60 uint8_t c : 3; /* assigned x/y/z/w (7=dont write, for fetch instr) */
120 } fetch; member in union:ir2_instr::__anon5c5cc0dc030a
381 switch (instr->fetch.opc) {
385 return instr->fetch.tex.is_cube ? 3 : 2;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_format.c144 LLVMValueRef fetch = NULL; local in function:test_format_float
155 fetch = add_fetch_rgba_test(gallivm, verbose, desc,
160 fetch_ptr = (fetch_ptr_t) gallivm_jit_function(gallivm, fetch);
245 LLVMValueRef fetch = NULL; local in function:test_format_unorm8
256 fetch = add_fetch_rgba_test(gallivm, verbose, desc,
261 fetch_ptr = (fetch_ptr_t) gallivm_jit_function(gallivm, fetch);
387 /* only have util fetch func for etc1 */
393 /* missing fetch funcs */
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_format.c144 LLVMValueRef fetch = NULL; local in function:test_format_float
155 fetch = add_fetch_rgba_test(gallivm, verbose, desc,
160 fetch_ptr = (fetch_ptr_t) gallivm_jit_function(gallivm, fetch);
245 LLVMValueRef fetch = NULL; local in function:test_format_unorm8
256 fetch = add_fetch_rgba_test(gallivm, verbose, desc,
261 fetch_ptr = (fetch_ptr_t) gallivm_jit_function(gallivm, fetch);
387 /* The codegen sometimes falls back to calling the precompiled fetch
390 * precompiled fetch func for any format before we write LLVM code to
391 * fetch from it.
H A Dlp_linear_sampler.c401 /* Maximise only as we fetch unscaled pixels linearly into a size-64
403 * temporary or fetch sparsely.
816 /* Nearest fetch routines don't employ SSE and always operate one pixel
822 /* Linear fetch routines employ SSE, and always fetch groups of four
891 samp->base.fetch = fetch_bgra_clamp;
893 samp->base.fetch = fetch_bgra;
895 samp->base.fetch = fetch_bgra_axis_aligned;
897 samp->base.fetch = fetch_bgra_memcpy;
903 samp->base.fetch
[all...]
H A Dlp_linear_interp.c117 interp->base.fetch = interp_check;
221 interp->base.fetch = interp_noop;
224 interp->base.fetch = interp_0_8;
H A Dlp_state_fs_linear.c62 const uint32_t *(*fetch)(struct nearest_sampler *samp); member in struct:nearest_sampler
105 * effectively the pixel shader was just a texture fetch which has
173 * XXX: migrate this to use Jose's quad blitter texture fetch routines.
300 samp->fetch = fetch_row_xy_clamped;
322 samp->fetch = fetch_row;
325 samp->fetch = fetch_row_clamped;
505 blend.src = samp.fetch(&samp);
549 shader.src0 = samp.fetch(&samp);
593 blend.src = samp.fetch(&samp);
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir2/
H A Ddisasm-a2xx.c342 print_fetch_vtx(instr_fetch_t *fetch) argument
344 instr_fetch_vtx_t *vtx = &fetch->vtx;
379 print_fetch_tex(instr_fetch_t *fetch) argument
406 instr_fetch_tex_t *tex = &fetch->tex;
477 instr_fetch_t *fetch = (instr_fetch_t *)dwords; local in function:disasm_fetch
486 printf("%s", fetch_instructions[fetch->opc].name);
487 fetch_instructions[fetch->opc].fxn(fetch);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_emitssboinstruction.cpp503 auto fetch = new FetchInstruction(vc_fetch, local in function:r600::EmitSSBOInstruction::emit_ssbo_atomic_op
523 fetch->set_flag(vtx_srf_mode);
524 fetch->set_flag(vtx_use_tc);
525 fetch->set_flag(vtx_vpm);
526 emit_instruction(fetch);
598 auto fetch = new FetchInstruction(vc_fetch, local in function:r600::EmitSSBOInstruction::fetch_return_value
617 fetch->set_flag(vtx_srf_mode);
618 fetch->set_flag(vtx_use_tc);
619 fetch->set_flag(vtx_vpm);
621 fetch
[all...]
H A Dsfn_shader_geometry.cpp325 auto fetch = new FetchInstruction(vc_fetch, no_index_offset, dest, addr, local in function:r600::GeometryShaderFromNir::emit_load_per_vertex_input
328 fetch->set_dest_swizzle(swz);
330 emit_instruction(fetch);

Completed in 26 milliseconds

1234