/external/mesa3d/src/gallium/state_trackers/vega/ |
D | asm_fill.h | 34 struct ureg_src *in, 35 struct ureg_src *sampler, 37 struct ureg_src *constant); 42 struct ureg_src *in, in solid_fill() 43 struct ureg_src *sampler, in solid_fill() 45 struct ureg_src *constant) in solid_fill() 59 ureg_DP3(ureg, temp[1], constant[4], ureg_src(temp[0])); \ 60 ureg_DP3(ureg, temp[2], constant[5], ureg_src(temp[0])); \ 61 ureg_DP3(ureg, temp[3], constant[6], ureg_src(temp[0])); \ 62 ureg_RCP(ureg, temp[3], ureg_src(temp[3])); \ [all …]
|
D | shaders_cache.c | 131 struct ureg_src in[2]; in combine_shaders() 132 struct ureg_src *sampler = NULL; in combine_shaders() 133 struct ureg_src *constant = NULL; in combine_shaders() 185 constant = (struct ureg_src *) malloc(sizeof(struct ureg_src) * end_const); in combine_shaders() 200 sampler = (struct ureg_src *) malloc(sizeof(struct ureg_src) * end_sampler); in combine_shaders()
|
D | renderer.c | 196 struct ureg_src src[2], constants[3]; in create_passthrough_vs() 216 ureg_MOV(ureg, dst[0], ureg_src(tmp)); in create_passthrough_vs() 267 struct ureg_src imm; in create_scissor_fs() 286 struct ureg_src imm; in create_white_fs()
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_tgsi.c | 112 struct ureg_src src, in src_in_mask() 113 struct ureg_src mask, in src_in_mask() 128 static struct ureg_src 130 struct ureg_src coords, in vs_normalize_coords() 131 struct ureg_src const0, struct ureg_src const1) in vs_normalize_coords() 134 struct ureg_src ret; in vs_normalize_coords() 137 ret = ureg_src(tmp); in vs_normalize_coords() 145 struct ureg_src pos, in linear_gradient() 146 struct ureg_src sampler, in linear_gradient() 147 struct ureg_src coords, in linear_gradient() [all …]
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_exa_tgsi.c | 86 struct ureg_src src, in src_in_mask() 87 struct ureg_src mask, in src_in_mask() 107 static struct ureg_src 108 vs_normalize_coords(struct ureg_program *ureg, struct ureg_src coords, in vs_normalize_coords() 109 struct ureg_src const0, struct ureg_src const1) in vs_normalize_coords() 112 struct ureg_src ret; in vs_normalize_coords() 114 ret = ureg_src(tmp); in vs_normalize_coords() 122 struct ureg_src pos, in linear_gradient() 123 struct ureg_src sampler, in linear_gradient() 124 struct ureg_src coords, in linear_gradient() [all …]
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.h | 45 struct ureg_src struct 179 struct ureg_src 187 static INLINE struct ureg_src 202 static INLINE struct ureg_src 215 struct ureg_src 219 struct ureg_src 225 struct ureg_src 242 struct ureg_src 247 struct ureg_src 252 struct ureg_src [all …]
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_idct.c | 73 struct ureg_src tc, struct ureg_src start, bool right_side, in calc_addr() 97 struct ureg_src saddr[2], bool right_side, bool transposed, in increment_addr() 115 fetch_four(struct ureg_program *shader, struct ureg_dst m[2], struct ureg_src addr[2], in fetch_four() 116 struct ureg_src sampler, bool resource3d) in fetch_four() 133 ureg_DP4(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_src(l[0]), ureg_src(r[0])); in matrix_mul() 134 ureg_DP4(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(l[1]), ureg_src(r[1])); in matrix_mul() 136 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), in matrix_mul() 137 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y)); in matrix_mul() 146 struct ureg_src vpos; in create_mismatch_vert_shader() 147 struct ureg_src scale; in create_mismatch_vert_shader() [all …]
|
D | vl_mc.c | 53 calc_position(struct vl_mc *r, struct ureg_program *shader, struct ureg_src block_scale) in calc_position() 55 struct ureg_src vrect, vpos; in calc_position() 74 ureg_MUL(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos), block_scale); in calc_position() 75 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos)); in calc_position() 85 struct ureg_src pos; in calc_line() 95 ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp)); in calc_line() 96 ureg_SGE(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp), ureg_imm1f(shader, 0.5f)); in calc_line() 105 struct ureg_src mv_scale; in create_ref_vert_shader() 106 struct ureg_src vmv[2]; in create_ref_vert_shader() 144 … ureg_MAD(shader, ureg_writemask(o_vmv[i], TGSI_WRITEMASK_XY), mv_scale, vmv[i], ureg_src(t_vpos)); in create_ref_vert_shader() [all …]
|
D | vl_median_filter.c | 50 struct ureg_src i_vpos; in create_vert_shader() 82 struct ureg_src i_vtex; in create_frag_shader() 83 struct ureg_src sampler; in create_frag_shader() 131 struct ureg_src src = is_vec_zero(offsets[i]) ? i_vtex : ureg_src(t_array[i]); in create_frag_shader() 139 ureg_MOV(shader, tmp, ureg_src(t_array[j])); in create_frag_shader() 140 ureg_MAX(shader, t_array[j], ureg_src(t_array[j]), ureg_src(t_array[j - 1])); in create_frag_shader() 141 ureg_MIN(shader, t_array[j - 1], ureg_src(tmp), ureg_src(t_array[j - 1])); in create_frag_shader() 145 ureg_MAX(shader, t_array[j], ureg_src(t_array[j]), ureg_src(t_array[j - 1])); in create_frag_shader() 147 ureg_MIN(shader, t_array[j - 1], ureg_src(t_array[j]), ureg_src(t_array[j - 1])); in create_frag_shader() 149 ureg_MOV(shader, o_fragment, ureg_src(t_array[median])); in create_frag_shader()
|
D | vl_compositor.c | 59 struct ureg_src vpos, vtex, color; in create_vert_shader() 108 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 110 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 112 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader() 116 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); in create_vert_shader() 118 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, -0.25f)); in create_vert_shader() 120 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y)); in create_vert_shader() 131 struct ureg_src tc; in create_frag_shader_video_buffer() 132 struct ureg_src csc[3]; in create_frag_shader_video_buffer() 133 struct ureg_src sampler[3]; in create_frag_shader_video_buffer() [all …]
|
D | vl_zscan.c | 96 struct ureg_src scale; in create_vert_shader() 97 struct ureg_src vrect, vpos, block_num; in create_vert_shader() 139 ureg_MUL(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(tmp), scale); in create_vert_shader() 145 …ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)… in create_vert_shader() 146 ureg_FLR(shader, ureg_writemask(tmp, TGSI_WRITEMASK_W), ureg_src(tmp)); in create_vert_shader() 149 …ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), in create_vert_shader() 154 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line), ureg_src(tmp)); in create_vert_shader() 157 ureg_MUL(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_W), ureg_src(tmp), in create_vert_shader() 173 struct ureg_src *vtex; in create_frag_shader() 175 struct ureg_src samp_src, samp_scan, samp_quant; in create_frag_shader() [all …]
|
D | vl_matrix_filter.c | 52 struct ureg_src i_vpos; in create_vert_shader() 82 struct ureg_src i_vtex; in create_frag_shader() 83 struct ureg_src sampler; in create_frag_shader() 122 struct ureg_src src = is_vec_zero(offsets[i]) ? i_vtex : ureg_src(t_array[i]); in create_frag_shader() 131 ureg_MUL(shader, t_sum, ureg_src(t_array[i]), in create_frag_shader() 135 ureg_MAD(shader, t_sum, ureg_src(t_array[i]), in create_frag_shader() 136 ureg_imm1f(shader, matrix_values[i]), ureg_src(t_sum)); in create_frag_shader() 142 ureg_MOV(shader, o_fragment, ureg_src(t_sum)); in create_frag_shader()
|
D | vl_mpeg12_decoder.c | 996 ureg_MOV(shader, ureg_writemask(o_vtex, TGSI_WRITEMASK_XY), ureg_src(tex)); in mc_vert_shader_callback() 1007 struct ureg_src src, sampler; in mc_frag_shader_callback()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_simple_shaders.c | 84 struct ureg_src src; in util_make_vertex_passthrough_shader_with_so() 120 struct ureg_src sampler; in util_make_fragment_tex_shader_writemask() 121 struct ureg_src tex; in util_make_fragment_tex_shader_writemask() 142 struct ureg_src imm = ureg_imm4f( ureg, 0, 0, 0, 1 ); in util_make_fragment_tex_shader_writemask() 182 struct ureg_src sampler; in util_make_fragment_tex_shader_writedepth() 183 struct ureg_src tex; in util_make_fragment_tex_shader_writedepth() 185 struct ureg_src imm; in util_make_fragment_tex_shader_writedepth() 228 struct ureg_src depth_sampler, stencil_sampler; in util_make_fragment_tex_shader_writedepthstencil() 229 struct ureg_src tex; in util_make_fragment_tex_shader_writedepthstencil() 231 struct ureg_src imm; in util_make_fragment_tex_shader_writedepthstencil() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_mesa_to_tgsi.c | 70 struct ureg_src *constants; 72 struct ureg_src inputs[PIPE_MAX_SHADER_INPUTS]; 74 struct ureg_src samplers[PIPE_MAX_SAMPLERS]; 75 struct ureg_src systemValues[SYSTEM_VALUE_MAX]; 202 static struct ureg_src 216 return ureg_src(t->temps[index]); in src_register() 237 return ureg_src(t->outputs[t->outputMapping[index]]); /* not needed? */ in src_register() 240 return ureg_src(t->address[index]); in src_register() 329 dst = ureg_dst_indirect( dst, ureg_src(t->address[0]) ); in translate_dst() 338 static struct ureg_src [all …]
|
D | st_glsl_to_tgsi.cpp | 3893 struct ureg_src *constants; 3894 struct ureg_src *immediates; 3896 struct ureg_src inputs[PIPE_MAX_SHADER_INPUTS]; 3898 struct ureg_src samplers[PIPE_MAX_SAMPLERS]; 3899 struct ureg_src systemValues[SYSTEM_VALUE_MAX]; 3981 static struct ureg_src 4045 static struct ureg_src 4059 return ureg_src(t->temps[index]); in src_register() 4083 return ureg_src(t->outputs[t->outputMapping[index]]); /* not needed? */ in src_register() 4086 return ureg_src(t->address[index]); in src_register() [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d1x/ |
D | sm4_to_tgsi.cpp | 81 std::vector<struct ureg_src> inputs; 82 std::vector<struct ureg_src> resources; 83 std::vector<struct ureg_src> samplers; 138 struct ureg_src _src(unsigned i) in _src() 142 struct ureg_src s; in _src() 170 s = ureg_src(_reg(op)); in _src() 325 ureg_RCP(ureg, d, ureg_src(t)); in translate_insns() 332 struct ureg_src v = _src(2); in translate_insns() 478 …ureg_SAMPLE_L(ureg, _dst(), ureg_src(tmp), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM… in translate_insns() 522 struct ureg_src a = _src(2); in translate_insns() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_vs.c | 80 struct ureg_src src; in get_dummy_vertex_shader()
|
D | svga_state_fs.c | 82 struct ureg_src src; in get_dummy_fragment_shader()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_vs.c | 185 struct ureg_src imm; in r300_dummy_vertex_shader()
|
D | r300_fs.c | 233 struct ureg_src imm; in r300_dummy_fragment_shader()
|