Home
last modified time | relevance | path

Searched refs:TGSI_NUM_CHANNELS (Results 1 – 23 of 23) 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++)
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 …]
Dtgsi_exec.c2129 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]; in fetch_texel()
2345 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_tex()
2406 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_lodq()
2529 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_txd()
2544 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]; in exec_txf()
2606 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_txf()
2614 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_txf()
2645 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_txq()
2779 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_sample()
2861 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in exec_sample_d()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_buffer.c52 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in sp_tgsi_load()
95 memset(rgba, 0, TGSI_NUM_CHANNELS * TGSI_QUAD_SIZE * 4); in sp_tgsi_load()
106 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in sp_tgsi_store()
155 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], in handle_op_atomic()
156 float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in handle_op_atomic()
260 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], in sp_tgsi_op()
261 float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in sp_tgsi_op()
306 memset(rgba, 0, TGSI_NUM_CHANNELS * TGSI_QUAD_SIZE * 4); in sp_tgsi_op()
Dsp_tex_sample.c1125 … rgba[0], rgba[TGSI_NUM_CHANNELS], rgba[2*TGSI_NUM_CHANNELS], rgba[3*TGSI_NUM_CHANNELS]); in print_sample()
1130 print_sample_4(const char *function, float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in print_sample_4()
1186 for (c = 0; c < TGSI_NUM_CHANNELS; c++) { in img_filter_2d_linear_repeat_POT()
1187 rgba[TGSI_NUM_CHANNELS*c] = lerp_2d(xw, yw, in img_filter_2d_linear_repeat_POT()
1224 for (c = 0; c < TGSI_NUM_CHANNELS; c++) in img_filter_2d_nearest_repeat_POT()
1225 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_2d_nearest_repeat_POT()
1267 for (c = 0; c < TGSI_NUM_CHANNELS; c++) in img_filter_2d_nearest_clamp_POT()
1268 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_2d_nearest_clamp_POT()
1298 for (c = 0; c < TGSI_NUM_CHANNELS; c++) in img_filter_1d_nearest()
1299 rgba[TGSI_NUM_CHANNELS*c] = out[c]; in img_filter_1d_nearest()
[all …]
Dsp_image.c209 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in sp_tgsi_load()
292 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in sp_tgsi_store()
357 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], in handle_op_uint()
358 float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in handle_op_uint()
474 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], in handle_op_int()
475 float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in handle_op_int()
588 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in handle_op_r32f_xchg()
624 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], in sp_tgsi_op()
625 float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) in sp_tgsi_op()
Dsp_tex_sample.h92 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]);
104 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]);
Dsp_quad.h88 float color[PIPE_MAX_COLOR_BUFS][TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE];
Dsp_setup.c617 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in setup_tri_coefficients()
622 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()
656 for (j = 0; j < TGSI_NUM_CHANNELS; j++) { in setup_tri_coefficients()
1004 for (j = 0; j < TGSI_NUM_CHANNELS; j++) in setup_line_coefficients()
1008 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()
1294 for (j = 0; j < TGSI_NUM_CHANNELS; j++) in sp_setup_point()
1298 for (j = 0; j < TGSI_NUM_CHANNELS; j++) in sp_setup_point()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.h53 float data[6][PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS][TGSI_NUM_CHANNELS];
Ddraw_llvm.h445 float inputs[6][PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS][TGSI_NUM_CHANNELS],
454 float inputs[32][NUM_TCS_INPUTS][TGSI_NUM_CHANNELS],
455 float outputs[32][PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS],
460 float inputs[32][PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS],
Ddraw_llvm.c453 input_array = LLVMVectorType(float_type, TGSI_NUM_CHANNELS); /* num primitives */ in create_gs_jit_input_type()
454 input_array = LLVMArrayType(input_array, TGSI_NUM_CHANNELS); /* num channels */ in create_gs_jit_input_type()
611 input_array = LLVMArrayType(float_type, TGSI_NUM_CHANNELS); /* num channels */ in create_tcs_jit_input_type()
624 output_array = LLVMArrayType(float_type, TGSI_NUM_CHANNELS); /* num channels */ in create_tcs_jit_output_type()
637 input_array = LLVMArrayType(float_type, TGSI_NUM_CHANNELS); /* num channels */ in create_tes_jit_input_type()
935 LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS], in generate_vs() argument
936 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS], in generate_vs() argument
991 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_vs()
1059 for (i = 0; i < TGSI_NUM_CHANNELS; i++) { in fetch_instanced()
1125 for (i = 0; i < TGSI_NUM_CHANNELS; i++) { in fetch_vector()
[all …]
Ddraw_tess.c60 float (*input_data)[32][NUM_TCS_INPUTS][TGSI_NUM_CHANNELS] = &shader->tcs_input->data; in llvm_fetch_tcs_input()
113 float (*output_data)[32][PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS] = &shader->tcs_output->data; in llvm_store_tcs_output()
224 float (*input_data)[32][PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS] = &shader->tes_input->data; in llvm_fetch_tes_input()
Ddraw_gs.c259 …float (*input_data)[6][PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS][TGSI_NUM_CHANNELS] = &shader->gs… in llvm_fetch_gs_input()
827 gs->vector_length = TGSI_NUM_CHANNELS; in draw_create_geometry_shader()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.h107 LLVMValueRef attribs[1 + PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS];
116 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS];
Dlp_bld_interp.c225 attrib * TGSI_NUM_CHANNELS); in coeffs_init_simple()
315 for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) { in attribs_update_simple()
705 setup_type.length = TGSI_NUM_CHANNELS; in lp_build_interp_soa_init()
716 bld->inputs = (const LLVMValueRef (*)[TGSI_NUM_CHANNELS]) bld->attribs[1]; in lp_build_interp_soa_init()
738 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in lp_build_interp_soa_init()
Dlp_state_fs.c590 LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS][TGSI_NUM_CHANNELS]; in generate_fs_loop()
686 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_fs_loop()
695 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_fs_loop()
1057 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in generate_fs_loop()
2189 unsigned channels = pad_inline ? TGSI_NUM_CHANNELS : dst_channels; in convert_alpha()
2238 LLVMValueRef fs_out_color[PIPE_MAX_COLOR_BUFS][TGSI_NUM_CHANNELS][4], in generate_unswizzled_blend()
2252 LLVMValueRef fs_src[4][TGSI_NUM_CHANNELS]; in generate_unswizzled_blend()
2253 LLVMValueRef fs_src1[4][TGSI_NUM_CHANNELS]; in generate_unswizzled_blend()
2273 unsigned char swizzle[TGSI_NUM_CHANNELS]; in generate_unswizzled_blend()
2275 unsigned src_channels = TGSI_NUM_CHANNELS; in generate_unswizzled_blend()
[all …]
Dlp_state_setup.c995 for (i = 0; i < TGSI_NUM_CHANNELS; i++) { in lp_dump_setup_coef()
1006 for (i = 0; i < TGSI_NUM_CHANNELS; i++) { in lp_dump_setup_coef()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.h525 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS];
526 LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS];
544 LLVMValueRef immediates[LP_MAX_INLINED_IMMEDIATES][TGSI_NUM_CHANNELS];
545 LLVMValueRef temps[LP_MAX_INLINED_TEMPS][TGSI_NUM_CHANNELS];
546 LLVMValueRef addr[LP_MAX_TGSI_ADDRS][TGSI_NUM_CHANNELS];
Dlp_bld_nir.h210 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS];
211 LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS];
Dlp_bld_tgsi_soa.c447 LLVMValueRef (*array_of_vars)[TGSI_NUM_CHANNELS]; in get_file_ptr()
525 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in gather_outputs()
2721 LLVMValueRef terms[TGSI_NUM_CHANNELS]; in emit_kill_if()
2734 assert(swizzle < TGSI_NUM_CHANNELS); in emit_kill_if()
2901 for (i = 0; i < TGSI_NUM_CHANNELS; i++) in lp_emit_declaration_soa()
2910 for (i = 0; i < TGSI_NUM_CHANNELS; i++) in lp_emit_declaration_soa()
2926 for (i = 0; i < TGSI_NUM_CHANNELS; i++) in lp_emit_declaration_soa()
4309 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in emit_prologue()
4407 LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS]) in lp_build_tgsi_soa() argument
Dlp_bld_tgsi_aos.c277 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()
Dlp_bld_nir_soa.c1758 for (chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) { in emit_prologue()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp1537 LLVMValueRef inputs[PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS]; in CompileGS()
1538 LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS][TGSI_NUM_CHANNELS]; in CompileGS()
1764 LLVMValueRef inputs[PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS]; in CompileTES()
1765 LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS][TGSI_NUM_CHANNELS]; in CompileTES()
1987 for (uint32_t channel = 0; channel < TGSI_NUM_CHANNELS; channel++) { in CompileTES()
2064 LLVMValueRef inputs[PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS]; in CompileTCS()
2065 LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS][TGSI_NUM_CHANNELS]; in CompileTCS()
2321 LLVMValueRef inputs[PIPE_MAX_SHADER_INPUTS][TGSI_NUM_CHANNELS]; in CompileVS()
2322 LLVMValueRef outputs[PIPE_MAX_SHADER_OUTPUTS][TGSI_NUM_CHANNELS]; in CompileVS()
2374 for (uint32_t channel = 0; channel < TGSI_NUM_CHANNELS; channel++) { in CompileVS()
[all …]