| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/ |
| draw_pt_fetch.c | 50 * Perform the fetch from API vertex elements & vertex buffers, to a 55 draw_pt_fetch_prepare(struct pt_fetch *fetch, 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, 148 struct draw_context *draw = fetch->draw 201 struct pt_fetch *fetch = CALLOC_STRUCT(pt_fetch); local [all...] |
| draw_vs_variant.c | 42 /* 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 322 /* Build free-standing fetch and emit functions [all...] |
| draw_pt_fetch_shade_pipeline.c | 46 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, function 161 draw_pt_fetch_run_linear( fetch, 167 draw_pt_fetch_run( fetch, 271 /* Fetch into our vertex buffer. 273 fetch( fpme->fetch, fetch_info, (char *)fetched_vert_info.verts ); 279 * Need fetch info to get vertex id correct [all...] |
| draw_pt_fetch_shade_pipeline_llvm.c | 50 struct pt_fetch *fetch; member in struct:llvm_middle_end 643 /* Finished with fetch and vs: 903 if (fpme->fetch) 904 draw_pt_fetch_destroy( fpme->fetch ); 941 fpme->fetch = draw_pt_fetch_create( draw ); 942 if (!fpme->fetch)
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| texcompress.c | 907 * Return a texel-fetch function for the given format, or NULL if 941 compressed_fetch_func fetch; local 949 fetch = _mesa_get_compressed_fetch_func(format); 950 if (!fetch) { 959 fetch(src, stride, i, j, dest);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/ |
| draw_pt_fetch.c | 50 * Perform the fetch from API vertex elements & vertex buffers, to a 60 draw_pt_fetch_prepare(struct pt_fetch *fetch, 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, 153 struct draw_context *draw = fetch->draw 206 struct pt_fetch *fetch = CALLOC_STRUCT(pt_fetch); local [all...] |
| draw_vs_variant.c | 42 /* 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 320 /* Build free-standing fetch and emit functions [all...] |
| draw_pt_fetch_shade_pipeline.c | 46 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, function 161 draw_pt_fetch_run_linear( fetch, 167 draw_pt_fetch_run( fetch, 269 /* Fetch into our vertex buffer. 271 fetch( fpme->fetch, fetch_info, (char *)fetched_vert_info.verts ); 277 * Need fetch info to get vertex id correct [all...] |
| draw_pt_fetch_shade_pipeline_llvm.c | 49 struct pt_fetch *fetch; member in struct:llvm_middle_end 412 /* Finished with fetch and vs: 610 if (fpme->fetch) 611 draw_pt_fetch_destroy( fpme->fetch ); 648 fpme->fetch = draw_pt_fetch_create( draw ); 649 if (!fpme->fetch)
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| texcompress.c | 907 * Return a texel-fetch function for the given format, or NULL if 941 compressed_fetch_func fetch; local 949 fetch = _mesa_get_compressed_fetch_func(format); 950 if (!fetch) { 959 fetch(src, stride, i, j, dest);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| lp_linear_priv.h | 11 lp_linear_func fetch; member in struct:lp_linear_elem
|
| lp_test_format.c | 144 LLVMValueRef fetch = NULL; local 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 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.
|
| lp_state_fs_linear.c | 62 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.old/dist/src/gallium/drivers/llvmpipe/ |
| lp_test_format.c | 144 LLVMValueRef fetch = NULL; local 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 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/freedreno/ir2/ |
| disasm-a2xx.c | 65 /* these only apply to FETCH dst's: */ 306 * FETCH instructions: 342 print_fetch_vtx(instr_fetch_t *fetch) 344 instr_fetch_vtx_t *vtx = &fetch->vtx; 379 print_fetch_tex(instr_fetch_t *fetch) 406 instr_fetch_tex_t *tex = &fetch->tex; 477 instr_fetch_t *fetch = (instr_fetch_t *)dwords; local 486 printf("%s", fetch_instructions[fetch->opc].name); 487 fetch_instructions[fetch->opc].fxn(fetch); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| ir3_shader.c | 67 /* skip frag inputs fetch via bary.f since their reg's are 680 const struct ir3_sampler_prefetch *fetch = &so->sampler_prefetch[i]; local 683 fetch->half_precision ? "h" : "", fetch->dst >> 2, 684 "xyzw"[fetch->dst & 0x3], fetch -> src, fetch -> samp_id, 685 fetch -> tex_id, fetch -> wrmask, fetch -> cmd) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/ |
| disasm-a2xx.c | 62 /* these only apply to FETCH dst's: */ 291 * FETCH instructions: 325 static void print_fetch_vtx(instr_fetch_t *fetch) 327 instr_fetch_vtx_t *vtx = &fetch->vtx; 361 static void print_fetch_tex(instr_fetch_t *fetch) 388 instr_fetch_tex_t *tex = &fetch->tex; 455 instr_fetch_t *fetch = (instr_fetch_t *)dwords; local 464 printf("%s", fetch_instructions[fetch->opc].name); 465 fetch_instructions[fetch->opc].fxn(fetch); [all...] |
| ir2_private.h | 60 uint8_t c : 3; /* assigned x/y/z/w (7=dont write, for fetch instr) */ 120 } fetch; member in union:ir2_instr::__anon3665 365 switch (instr->fetch.opc) { 369 return instr->fetch.tex.is_cube ? 3 : 2;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_format_soa.c | 397 * Fetch a texels from a texture, returning them in SoA layout. 400 * is the number of texels to fetch 507 * First, figure out fetch order. 511 * fp64 are treated like fp32 except we fetch twice wide values 563 * With 4x32bit (and 3x32bit) fetch, we use float vec (the data is 566 * With 2x32bit or 4x16bit fetch, we use float vec, since those 825 * (those miss fast fetch functions hence they are terrible anyway) 834 debug_printf("%s: AoS fetch fallback for %s\n", 842 LLVMValueRef fetch = lp_build_fetch_rgba_aos(gallivm, format_desc, tmp_type, local 847 rgba_out[k] = LLVMBuildExtractElement(gallivm->builder, fetch, lp_build_const_int32(gallivm, k), "") [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/translate/ |
| translate_generic.c | 53 void (*fetch)(void *restrict dst, const uint8_t *restrict src, member in struct:translate_generic::__anon1077 90 * Fetch a dword[4] vertex attribute from memory, doing format/type 627 tg->attrib[attr].fetch(data, src, 1); 630 debug_printf("Fetch linear attr %d from %p stride %d index %d: " 652 * Fetch vertex attributes for 'count' vertices. 817 tg->attrib[i].fetch = unpack->unpack_rgba;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/ |
| sfn_emitssboinstruction.cpp | 503 auto fetch = new FetchInstruction(vc_fetch, local 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 617 fetch->set_flag(vtx_srf_mode); 618 fetch->set_flag(vtx_use_tc); 619 fetch->set_flag(vtx_vpm); 621 fetch->set_flag(vtx_format_comp_signed) [all...] |
| sfn_shader_fragment.cpp | 648 auto fetch = new FetchInstruction(vc_fetch, no_index_offset, slope, local 651 fetch->set_flag(vtx_srf_mode); 652 emit_instruction(fetch); 775 auto fetch = new FetchInstruction(vc_fetch, local 795 fetch->set_flag(vtx_srf_mode); 796 emit_instruction(fetch);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/translate/ |
| translate_generic.c | 56 fetch_func fetch; member in struct:translate_generic::__anon3589 92 * Fetch a dword[4] vertex attribute from memory, doing format/type 629 tg->attrib[attr].fetch(data, src, 0, 0); 632 debug_printf("Fetch linear attr %d from %p stride %d index %d: " 654 * Fetch vertex attributes for 'count' vertices. 818 tg->attrib[i].fetch = (fetch_func)format_desc->fetch_rgba_sint; 821 tg->attrib[i].fetch = (fetch_func)format_desc->fetch_rgba_uint; 825 tg->attrib[i].fetch = (fetch_func)format_desc->fetch_rgba_float;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/ |
| ir2_private.h | 60 uint8_t c : 3; /* assigned x/y/z/w (7=dont write, for fetch instr) */ 120 } fetch; member in union:ir2_instr::__anon1184 381 switch (instr->fetch.opc) { 385 return instr->fetch.tex.is_cube ? 3 : 2;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| si_shader_llvm_vs.c | 192 LLVMValueRef fetch = fetches[0]; local 195 fetches[i] = LLVMBuildExtractElement(ctx->ac.builder, fetch, tmp, "");
|