Home
last modified time | relevance | path

Searched refs:TGSI_NUM_CHANNELS (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.h45 #define TGSI_NUM_CHANNELS 4 /* R,G,B,A */ macro
49 for (CHAN = 0; CHAN < TGSI_NUM_CHANNELS; CHAN++)
77 union tgsi_exec_channel xyzw[TGSI_NUM_CHANNELS];
86 float a0[TGSI_NUM_CHANNELS]; /* in an xyzw layout */
87 float dadx[TGSI_NUM_CHANNELS];
88 float dady[TGSI_NUM_CHANNELS];
109 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]);
115 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]);
Dtgsi_exec.c605 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in tgsi_check_soa_dependencies()
1729 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]; in fetch_texel()
1907 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_tex()
1986 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_txd()
2003 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]; in exec_txf()
2058 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_txf()
2087 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_txq()
2199 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_sample()
2262 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_sample_d()
2396 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in exec_declaration()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.h93 LLVMValueRef a[1 + PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS];
94 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];
Dlp_tile_soa.h50 #define TILE_X_STRIDE (TGSI_NUM_CHANNELS * TILE_C_STRIDE) //64
51 #define TILE_Y_STRIDE (TILE_VECTOR_HEIGHT * TILE_SIZE * TGSI_NUM_CHANNELS) //1024
Dlp_bld_interp.c185 attrib * TGSI_NUM_CHANNELS); in coeffs_init_simple()
277 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in attribs_update_simple()
390 attrib * TGSI_NUM_CHANNELS); in coeffs_init()
454 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in coeffs_init()
569 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in attribs_update()
718 setup_type.length = TGSI_NUM_CHANNELS; in lp_build_interp_soa_init()
729 bld->inputs = (const LLVMValueRef (*)[TGSI_NUM_CHANNELS]) bld->attribs[1]; in lp_build_interp_soa_init()
744 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in lp_build_interp_soa_init()
Dlp_state_fs.c238 LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS][TGSI_NUM_CHANNELS]; in generate_fs()
297 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_fs()
417 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_fs()
468 LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS][TGSI_NUM_CHANNELS]; in generate_fs_loop()
540 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_fs_loop()
656 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_fs_loop()
793 LLVMValueRef fs_out_color[PIPE_MAX_COLOR_BUFS][TGSI_NUM_CHANNELS][16 / 4]; in generate_fragment()
946 LLVMValueRef out_color[PIPE_MAX_COLOR_BUFS][TGSI_NUM_CHANNELS]; in generate_fragment()
968 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) in generate_fragment()
979 LLVMValueRef color_store[PIPE_MAX_COLOR_BUFS][TGSI_NUM_CHANNELS]; in generate_fragment()
[all …]
Dlp_state_setup.c954 for (i = 0; i < TGSI_NUM_CHANNELS; i++) { in lp_dump_setup_coef()
966 for (i = 0; i < TGSI_NUM_CHANNELS; i++) { in lp_dump_setup_coef()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c430 LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS], in generate_vs() argument
431 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS], in generate_vs() argument
469 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_vs()
546 LLVMValueRef (*dst_soa)[TGSI_NUM_CHANNELS], in convert_to_soa() argument
552 debug_assert(TGSI_NUM_CHANNELS == 4); in convert_to_soa()
553 debug_assert((soa_type.length % TGSI_NUM_CHANNELS) == 0); in convert_to_soa()
558 LLVMValueRef aos_channels[TGSI_NUM_CHANNELS]; in convert_to_soa()
559 unsigned pixels_per_channel = soa_type.length / TGSI_NUM_CHANNELS; in convert_to_soa()
561 for (j = 0; j < TGSI_NUM_CHANNELS; ++j) { in convert_to_soa()
567 channel[k] = src_aos[i][j + TGSI_NUM_CHANNELS * k]; in convert_to_soa()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.h365 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS];
366 LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS];
370 LLVMValueRef immediates[LP_MAX_TGSI_IMMEDIATES][TGSI_NUM_CHANNELS];
371 LLVMValueRef temps[LP_MAX_TGSI_TEMPS][TGSI_NUM_CHANNELS];
372 LLVMValueRef addr[LP_MAX_TGSI_ADDRS][TGSI_NUM_CHANNELS];
373 LLVMValueRef preds[LP_MAX_TGSI_PREDS][TGSI_NUM_CHANNELS];
Dlp_bld_tgsi_soa.c1124 LLVMValueRef pred[TGSI_NUM_CHANNELS]; in emit_store()
1421 LLVMValueRef terms[TGSI_NUM_CHANNELS]; in emit_kil()
1434 assert(swizzle < TGSI_NUM_CHANNELS); in emit_kil()
1561 for (i = 0; i < TGSI_NUM_CHANNELS; i++) in lp_emit_declaration_soa()
1568 for (i = 0; i < TGSI_NUM_CHANNELS; i++) in lp_emit_declaration_soa()
1581 for (i = 0; i < TGSI_NUM_CHANNELS; i++) in lp_emit_declaration_soa()
1587 for (i = 0; i < TGSI_NUM_CHANNELS; i++) in lp_emit_declaration_soa()
2014 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in emit_prologue()
2044 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in emit_epilogue()
2059 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS], in lp_build_tgsi_soa() argument
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c761 … rgba[0], rgba[TGSI_NUM_CHANNELS], rgba[2*TGSI_NUM_CHANNELS], rgba[3*TGSI_NUM_CHANNELS]); in print_sample()
766 print_sample_4(const char *function, float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in print_sample_4()
828 rgba[TGSI_NUM_CHANNELS*c] = lerp_2d(xw, yw, in img_filter_2d_linear_repeat_POT()
870 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_2d_nearest_repeat_POT()
917 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_2d_nearest_clamp_POT()
954 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_1d_nearest()
992 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_1d_array_nearest()
1032 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_2d_nearest()
1073 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_2d_array_nearest()
1121 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_cube_nearest()
[all …]
Dsp_tex_sample.h67 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]);
163 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]);
Dsp_quad.h86 float color[PIPE_MAX_COLOR_BUFS][TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE];
Dsp_setup.c635 for (j = 0; j < TGSI_NUM_CHANNELS; j++) in setup_tri_coefficients()
639 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in setup_tri_coefficients()
649 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in setup_tri_coefficients()
991 for (j = 0; j < TGSI_NUM_CHANNELS; j++) in setup_line_coefficients()
995 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in setup_line_coefficients()
1004 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in setup_line_coefficients()
1251 for (j = 0; j < TGSI_NUM_CHANNELS; j++) in sp_setup_point()
1255 for (j = 0; j < TGSI_NUM_CHANNELS; j++) in sp_setup_point()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_setup_tgsi_llvm.c140 LLVMValueRef values[TGSI_NUM_CHANNELS] = {}; in emit_fetch_input()
142 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in emit_fetch_input()
147 TGSI_NUM_CHANNELS); in emit_fetch_input()
163 LLVMValueRef values[TGSI_NUM_CHANNELS] = {}; in emit_fetch_temporary()
165 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in emit_fetch_temporary()
169 TGSI_NUM_CHANNELS); in emit_fetch_temporary()
216 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in emit_declaration()
253 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in emit_declaration()
Dradeon_llvm.h95 LLVMValueRef outputs[RADEON_LLVM_MAX_OUTPUTS][TGSI_NUM_CHANNELS];
/external/mesa3d/src/gallium/drivers/r600/
Dr600_llvm.c101 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in llvm_emit_prologue()
122 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in llvm_emit_epilogue()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_shader.c323 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in declare_input_fs()