/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_exec.h | 45 #define TGSI_NUM_CHANNELS 4 /* R,G,B,A */ macro 49 for (CHAN = 0; CHAN < TGSI_NUM_CHANNELS; CHAN++) 86 union tgsi_exec_channel xyzw[TGSI_NUM_CHANNELS]; 95 float a0[TGSI_NUM_CHANNELS]; /* in an xyzw layout */ 96 float dadx[TGSI_NUM_CHANNELS]; 97 float dady[TGSI_NUM_CHANNELS]; 125 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]); 133 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]); 142 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], 143 float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]); [all …]
|
D | tgsi_exec.c | 1071 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in tgsi_check_soa_dependencies() 2125 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]; in fetch_texel() 2343 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_tex() 2404 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_lodq() 2527 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_txd() 2542 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]; in exec_txf() 2604 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_txf() 2612 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_txf() 2643 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_txq() 2777 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_sample() [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_interp.h | 95 LLVMValueRef a[1 + PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS]; 96 LLVMValueRef dadq[1 + PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS]; 101 LLVMValueRef attribs[1 + PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS]; 110 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS];
|
D | lp_bld_interp.c | 185 attrib * TGSI_NUM_CHANNELS); in coeffs_init_simple() 271 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in attribs_update_simple() 396 attrib * TGSI_NUM_CHANNELS); in coeffs_init() 457 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in coeffs_init() 571 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in attribs_update() 722 setup_type.length = TGSI_NUM_CHANNELS; in lp_build_interp_soa_init() 733 bld->inputs = (const LLVMValueRef (*)[TGSI_NUM_CHANNELS]) bld->attribs[1]; in lp_build_interp_soa_init() 748 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in lp_build_interp_soa_init()
|
D | lp_state_fs.c | 320 LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS][TGSI_NUM_CHANNELS]; in generate_fs_loop() 408 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_fs_loop() 417 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_fs_loop() 615 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_fs_loop() 1670 unsigned channels = pad_inline ? TGSI_NUM_CHANNELS : dst_channels; in convert_alpha() 1719 LLVMValueRef fs_out_color[PIPE_MAX_COLOR_BUFS][TGSI_NUM_CHANNELS][4], in generate_unswizzled_blend() 1733 LLVMValueRef fs_src[4][TGSI_NUM_CHANNELS]; in generate_unswizzled_blend() 1734 LLVMValueRef fs_src1[4][TGSI_NUM_CHANNELS]; in generate_unswizzled_blend() 1754 unsigned char swizzle[TGSI_NUM_CHANNELS]; in generate_unswizzled_blend() 1756 unsigned src_channels = TGSI_NUM_CHANNELS; in generate_unswizzled_blend() [all …]
|
D | lp_state_setup.c | 994 for (i = 0; i < TGSI_NUM_CHANNELS; i++) { in lp_dump_setup_coef() 1005 for (i = 0; i < TGSI_NUM_CHANNELS; i++) { in lp_dump_setup_coef()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 972 … rgba[0], rgba[TGSI_NUM_CHANNELS], rgba[2*TGSI_NUM_CHANNELS], rgba[3*TGSI_NUM_CHANNELS]); in print_sample() 977 print_sample_4(const char *function, float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in print_sample_4() 1033 for (c = 0; c < TGSI_NUM_CHANNELS; c++) { in img_filter_2d_linear_repeat_POT() 1034 rgba[TGSI_NUM_CHANNELS*c] = lerp_2d(xw, yw, in img_filter_2d_linear_repeat_POT() 1071 for (c = 0; c < TGSI_NUM_CHANNELS; c++) in img_filter_2d_nearest_repeat_POT() 1072 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_2d_nearest_repeat_POT() 1114 for (c = 0; c < TGSI_NUM_CHANNELS; c++) in img_filter_2d_nearest_clamp_POT() 1115 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_2d_nearest_clamp_POT() 1145 for (c = 0; c < TGSI_NUM_CHANNELS; c++) in img_filter_1d_nearest() 1146 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_1d_nearest() [all …]
|
D | sp_buffer.c | 52 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in sp_tgsi_load() 99 memset(rgba, 0, TGSI_NUM_CHANNELS * TGSI_QUAD_SIZE * 4); in sp_tgsi_load() 110 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in sp_tgsi_store() 164 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], in handle_op_uint() 165 float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in handle_op_uint() 286 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], in sp_tgsi_op() 287 float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in sp_tgsi_op() 332 memset(rgba, 0, TGSI_NUM_CHANNELS * TGSI_QUAD_SIZE * 4); in sp_tgsi_op()
|
D | sp_image.c | 209 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in sp_tgsi_load() 311 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in sp_tgsi_store() 390 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], in handle_op_uint() 391 float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in handle_op_uint() 507 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], in handle_op_int() 508 float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in handle_op_int() 621 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in handle_op_r32f_xchg() 657 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], in sp_tgsi_op() 658 float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in sp_tgsi_op()
|
D | sp_tex_sample.h | 88 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]); 100 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]);
|
D | sp_setup.c | 627 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in setup_tri_coefficients() 632 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in setup_tri_coefficients() 642 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in setup_tri_coefficients() 666 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in setup_tri_coefficients() 1013 for (j = 0; j < TGSI_NUM_CHANNELS; j++) in setup_line_coefficients() 1017 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in setup_line_coefficients() 1026 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in setup_line_coefficients() 1301 for (j = 0; j < TGSI_NUM_CHANNELS; j++) in sp_setup_point() 1305 for (j = 0; j < TGSI_NUM_CHANNELS; j++) in sp_setup_point()
|
D | sp_quad.h | 88 float color[PIPE_MAX_COLOR_BUFS][TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE];
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_tgsi_setup.c | 468 temp_ptr = ctx->temps[(i + range.First) * TGSI_NUM_CHANNELS + chan_index]; in store_value_to_array() 514 LLVMValueRef values[TGSI_NUM_CHANNELS]; in si_llvm_emit_fetch() 516 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in si_llvm_emit_fetch() 520 TGSI_NUM_CHANNELS); in si_llvm_emit_fetch() 535 ctx->imms[reg->Register.Index * TGSI_NUM_CHANNELS + swizzle], in si_llvm_emit_fetch() 538 ctx->imms[reg->Register.Index * TGSI_NUM_CHANNELS + swizzle + 1], in si_llvm_emit_fetch() 542 return LLVMConstBitCast(ctx->imms[reg->Register.Index * TGSI_NUM_CHANNELS + swizzle], ctype); in si_llvm_emit_fetch() 575 ptr = ctx->temps[reg->Register.Index * TGSI_NUM_CHANNELS + swizzle]; in si_llvm_emit_fetch() 577 ptr2 = ctx->temps[reg->Register.Index * TGSI_NUM_CHANNELS + swizzle + 1]; in si_llvm_emit_fetch() 648 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in emit_declaration() [all …]
|
D | si_shader_internal.h | 83 LLVMValueRef outputs[RADEON_LLVM_MAX_OUTPUTS][TGSI_NUM_CHANNELS]; 84 LLVMValueRef addrs[RADEON_LLVM_MAX_ADDRS][TGSI_NUM_CHANNELS];
|
D | si_shader_tgsi_alu.c | 38 LLVMValueRef conds[TGSI_NUM_CHANNELS]; in kill_if_fetch_args() 40 for (i = 0; i < TGSI_NUM_CHANNELS; i++) { in kill_if_fetch_args() 47 for (i = TGSI_NUM_CHANNELS - 1; i > 0; i--) { in kill_if_fetch_args()
|
D | si_shader_tgsi_mem.c | 1592 ctx->imms[off->Index * TGSI_NUM_CHANNELS + off->SwizzleZ]); in tex_fetch_args() 1602 ctx->imms[off->Index * TGSI_NUM_CHANNELS + off->SwizzleY]); in tex_fetch_args() 1610 ctx->imms[off->Index * TGSI_NUM_CHANNELS + off->SwizzleX]); in tex_fetch_args() 1635 comp_imm = ctx->imms[src1.Index * TGSI_NUM_CHANNELS + src1.SwizzleX]; in tex_fetch_args()
|
D | si_shader.c | 1133 LLVMValueRef values[TGSI_NUM_CHANNELS]; in lds_load() 1135 for (unsigned chan = 0; chan < TGSI_NUM_CHANNELS; chan++) in lds_load() 1139 TGSI_NUM_CHANNELS); in lds_load() 1617 LLVMValueRef values[TGSI_NUM_CHANNELS]; in si_llvm_load_input_gs() 1619 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in si_llvm_load_input_gs() 1624 TGSI_NUM_CHANNELS); in si_llvm_load_input_gs() 1784 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in interp_fs_input() 1807 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in interp_fs_input() 2294 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) in fetch_constant() 2659 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in si_llvm_emit_clipvertex() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 336 input_array = LLVMVectorType(float_type, TGSI_NUM_CHANNELS); /* num primitives */ in create_gs_jit_input_type() 337 input_array = LLVMArrayType(input_array, TGSI_NUM_CHANNELS); /* num channels */ in create_gs_jit_input_type() 605 LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS], in generate_vs() argument 606 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS], in generate_vs() argument 642 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_vs() 710 for (i = 0; i < TGSI_NUM_CHANNELS; i++) { in fetch_instanced() 776 for (i = 0; i < TGSI_NUM_CHANNELS; i++) { in fetch_vector() 782 for (i = 0; i < TGSI_NUM_CHANNELS; i++) { in fetch_vector() 888 debug_assert(TGSI_NUM_CHANNELS == 4); in store_aos_array() 943 LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS], in convert_to_aos() argument [all …]
|
D | draw_gs.h | 53 float data[6][PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS][TGSI_NUM_CHANNELS];
|
D | draw_llvm.h | 280 float inputs[6][PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS][TGSI_NUM_CHANNELS],
|
D | draw_gs.c | 228 …float (*input_data)[6][PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS][TGSI_NUM_CHANNELS] = &shader->gs… in llvm_fetch_gs_input() 767 gs->vector_length = TGSI_NUM_CHANNELS; in draw_create_geometry_shader()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi.h | 450 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS]; 451 LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS]; 459 LLVMValueRef immediates[LP_MAX_INLINED_IMMEDIATES][TGSI_NUM_CHANNELS]; 460 LLVMValueRef temps[LP_MAX_INLINED_TEMPS][TGSI_NUM_CHANNELS]; 461 LLVMValueRef addr[LP_MAX_TGSI_ADDRS][TGSI_NUM_CHANNELS];
|
D | lp_bld_tgsi_soa.c | 830 LLVMValueRef (*array_of_vars)[TGSI_NUM_CHANNELS]; in get_file_ptr() 901 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in gather_outputs() 2666 LLVMValueRef terms[TGSI_NUM_CHANNELS]; in emit_kill_if() 2679 assert(swizzle < TGSI_NUM_CHANNELS); in emit_kill_if() 2846 for (i = 0; i < TGSI_NUM_CHANNELS; i++) in lp_emit_declaration_soa() 2855 for (i = 0; i < TGSI_NUM_CHANNELS; i++) in lp_emit_declaration_soa() 2871 for (i = 0; i < TGSI_NUM_CHANNELS; i++) in lp_emit_declaration_soa() 3689 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in emit_prologue() 3779 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS], in lp_build_tgsi_soa() argument 3780 LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS], in lp_build_tgsi_soa() argument
|
D | lp_bld_tgsi_aos.c | 277 TGSI_NUM_CHANNELS, in lp_emit_store_aos() 575 … tmp0 = lp_build_swizzle_scalar_aos(&bld->bld_base.base, src0, TGSI_SWIZZLE_X, TGSI_NUM_CHANNELS); in lp_emit_instruction_aos()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_shader.cpp | 578 LLVMValueRef inputs[PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS]; in CompileGS() 579 LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS][TGSI_NUM_CHANNELS]; in CompileGS() 746 LLVMValueRef inputs[PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS]; in CompileVS() 747 LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS][TGSI_NUM_CHANNELS]; in CompileVS() 796 for (uint32_t channel = 0; channel < TGSI_NUM_CHANNELS; channel++) { in CompileVS() 847 for (uint32_t channel = 0; channel < TGSI_NUM_CHANNELS; channel++) { in CompileVS() 1026 LLVMValueRef inputs[PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS]; in CompileFS() 1027 LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS][TGSI_NUM_CHANNELS]; in CompileFS() 1220 for (int channel = 0; channel < TGSI_NUM_CHANNELS; channel++) { in CompileFS() 1340 for (uint32_t channel = 0; channel < TGSI_NUM_CHANNELS; channel++) { in CompileFS()
|