/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
asm_fill.h | 34 struct ureg_src *in, 35 struct ureg_src *sampler, 37 struct ureg_src *constant); 42 struct ureg_src *in, 43 struct ureg_src *sampler, 45 struct ureg_src *constant) 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...] |
shaders_cache.c | 131 struct ureg_src in[2]; 132 struct ureg_src *sampler = NULL; 133 struct ureg_src *constant = NULL; 185 constant = (struct ureg_src *) malloc(sizeof(struct ureg_src) * end_const); 200 sampler = (struct ureg_src *) malloc(sizeof(struct ureg_src) * end_sampler);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
asm_fill.h | 34 struct ureg_src *in, 35 struct ureg_src *sampler, 37 struct ureg_src *constant); 42 struct ureg_src *in, 43 struct ureg_src *sampler, 45 struct ureg_src *constant) 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...] |
shaders_cache.c | 131 struct ureg_src in[2]; 132 struct ureg_src *sampler = NULL; 133 struct ureg_src *constant = NULL; 185 constant = (struct ureg_src *) malloc(sizeof(struct ureg_src) * end_const); 200 sampler = (struct ureg_src *) malloc(sizeof(struct ureg_src) * end_sampler);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
xa_tgsi.c | 112 struct ureg_src src, 113 struct ureg_src mask, 128 static struct ureg_src 130 struct ureg_src coords, 131 struct ureg_src const0, struct ureg_src const1) 134 struct ureg_src ret; 137 ret = ureg_src(tmp); 145 struct ureg_src pos, 146 struct ureg_src sampler [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_exa_tgsi.c | 86 struct ureg_src src, 87 struct ureg_src mask, 107 static struct ureg_src 108 vs_normalize_coords(struct ureg_program *ureg, struct ureg_src coords, 109 struct ureg_src const0, struct ureg_src const1) 112 struct ureg_src ret; 114 ret = ureg_src(tmp); 122 struct ureg_src pos, 123 struct ureg_src sampler [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_tgsi.c | 112 struct ureg_src src, 113 struct ureg_src mask, 128 static struct ureg_src 130 struct ureg_src coords, 131 struct ureg_src const0, struct ureg_src const1) 134 struct ureg_src ret; 137 ret = ureg_src(tmp); 145 struct ureg_src pos, 146 struct ureg_src sampler [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_exa_tgsi.c | 86 struct ureg_src src, 87 struct ureg_src mask, 107 static struct ureg_src 108 vs_normalize_coords(struct ureg_program *ureg, struct ureg_src coords, 109 struct ureg_src const0, struct ureg_src const1) 112 struct ureg_src ret; 114 ret = ureg_src(tmp); 122 struct ureg_src pos, 123 struct ureg_src sampler [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
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 1030 ureg_src( struct ureg_dst dst ) function [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
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 1030 ureg_src( struct ureg_dst dst ) function [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_simple_shaders.c | 84 struct ureg_src src; 120 struct ureg_src sampler; 121 struct ureg_src tex; 142 struct ureg_src imm = ureg_imm4f( ureg, 0, 0, 0, 1 ); 182 struct ureg_src sampler; 183 struct ureg_src tex; 185 struct ureg_src imm; 228 struct ureg_src depth_sampler, stencil_sampler; 229 struct ureg_src tex; 231 struct ureg_src imm [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_simple_shaders.c | 84 struct ureg_src src; 120 struct ureg_src sampler; 121 struct ureg_src tex; 142 struct ureg_src imm = ureg_imm4f( ureg, 0, 0, 0, 1 ); 182 struct ureg_src sampler; 183 struct ureg_src tex; 185 struct ureg_src imm; 228 struct ureg_src depth_sampler, stencil_sampler; 229 struct ureg_src tex; 231 struct ureg_src imm [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_idct.c | 73 struct ureg_src tc, struct ureg_src start, bool right_side, 97 struct ureg_src saddr[2], bool right_side, bool transposed, 115 fetch_four(struct ureg_program *shader, struct ureg_dst m[2], struct ureg_src addr[2], 116 struct ureg_src sampler, bool resource3d) 133 ureg_DP4(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_src(l[0]), ureg_src(r[0])); 134 ureg_DP4(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(l[1]), ureg_src(r[1])); 136 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X) [all...] |
vl_mc.c | 53 calc_position(struct vl_mc *r, struct ureg_program *shader, struct ureg_src block_scale) 55 struct ureg_src vrect, vpos; 74 ureg_MUL(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos), block_scale); 75 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos)); 85 struct ureg_src pos; 95 ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp)); 96 ureg_SGE(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp), ureg_imm1f(shader, 0.5f)); 105 struct ureg_src mv_scale; 106 struct ureg_src vmv[2]; 144 ureg_MAD(shader, ureg_writemask(o_vmv[i], TGSI_WRITEMASK_XY), mv_scale, vmv[i], ureg_src(t_vpos)) [all...] |
vl_median_filter.c | 50 struct ureg_src i_vpos; 82 struct ureg_src i_vtex; 83 struct ureg_src sampler; 131 struct ureg_src src = is_vec_zero(offsets[i]) ? i_vtex : ureg_src(t_array[i]); 139 ureg_MOV(shader, tmp, ureg_src(t_array[j])); 140 ureg_MAX(shader, t_array[j], ureg_src(t_array[j]), ureg_src(t_array[j - 1])); 141 ureg_MIN(shader, t_array[j - 1], ureg_src(tmp), ureg_src(t_array[j - 1])) [all...] |
vl_compositor.c | 59 struct ureg_src vpos, vtex, color; 108 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); 110 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.25f)); 112 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); 116 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); 118 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, -0.25f)); 120 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y)); 131 struct ureg_src tc; 132 struct ureg_src csc[3]; 133 struct ureg_src sampler[3] [all...] |
vl_zscan.c | 96 struct ureg_src scale; 97 struct ureg_src vrect, vpos, block_num; 139 ureg_MUL(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(tmp), scale); 145 ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); 146 ureg_FLR(shader, ureg_writemask(tmp, TGSI_WRITEMASK_W), ureg_src(tmp)); 149 ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), 154 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line), ureg_src(tmp)); 157 ureg_MUL(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_W), ureg_src(tmp), 173 struct ureg_src *vtex; 175 struct ureg_src samp_src, samp_scan, samp_quant [all...] |
vl_matrix_filter.c | 52 struct ureg_src i_vpos; 82 struct ureg_src i_vtex; 83 struct ureg_src sampler; 122 struct ureg_src src = is_vec_zero(offsets[i]) ? i_vtex : ureg_src(t_array[i]); 131 ureg_MUL(shader, t_sum, ureg_src(t_array[i]), 135 ureg_MAD(shader, t_sum, ureg_src(t_array[i]), 136 ureg_imm1f(shader, matrix_values[i]), ureg_src(t_sum)); 142 ureg_MOV(shader, o_fragment, ureg_src(t_sum));
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_idct.c | 73 struct ureg_src tc, struct ureg_src start, bool right_side, 97 struct ureg_src saddr[2], bool right_side, bool transposed, 115 fetch_four(struct ureg_program *shader, struct ureg_dst m[2], struct ureg_src addr[2], 116 struct ureg_src sampler, bool resource3d) 133 ureg_DP4(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_src(l[0]), ureg_src(r[0])); 134 ureg_DP4(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(l[1]), ureg_src(r[1])); 136 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X) [all...] |
vl_mc.c | 53 calc_position(struct vl_mc *r, struct ureg_program *shader, struct ureg_src block_scale) 55 struct ureg_src vrect, vpos; 74 ureg_MUL(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos), block_scale); 75 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos)); 85 struct ureg_src pos; 95 ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp)); 96 ureg_SGE(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp), ureg_imm1f(shader, 0.5f)); 105 struct ureg_src mv_scale; 106 struct ureg_src vmv[2]; 144 ureg_MAD(shader, ureg_writemask(o_vmv[i], TGSI_WRITEMASK_XY), mv_scale, vmv[i], ureg_src(t_vpos)) [all...] |
vl_median_filter.c | 50 struct ureg_src i_vpos; 82 struct ureg_src i_vtex; 83 struct ureg_src sampler; 131 struct ureg_src src = is_vec_zero(offsets[i]) ? i_vtex : ureg_src(t_array[i]); 139 ureg_MOV(shader, tmp, ureg_src(t_array[j])); 140 ureg_MAX(shader, t_array[j], ureg_src(t_array[j]), ureg_src(t_array[j - 1])); 141 ureg_MIN(shader, t_array[j - 1], ureg_src(tmp), ureg_src(t_array[j - 1])) [all...] |
vl_compositor.c | 59 struct ureg_src vpos, vtex, color; 108 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); 110 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.25f)); 112 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); 116 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); 118 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, -0.25f)); 120 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y)); 131 struct ureg_src tc; 132 struct ureg_src csc[3]; 133 struct ureg_src sampler[3] [all...] |
vl_zscan.c | 96 struct ureg_src scale; 97 struct ureg_src vrect, vpos, block_num; 139 ureg_MUL(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(tmp), scale); 145 ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); 146 ureg_FLR(shader, ureg_writemask(tmp, TGSI_WRITEMASK_W), ureg_src(tmp)); 149 ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), 154 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line), ureg_src(tmp)); 157 ureg_MUL(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_W), ureg_src(tmp), 173 struct ureg_src *vtex; 175 struct ureg_src samp_src, samp_scan, samp_quant [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
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]; 200 * Map a Mesa src register to a TGSI ureg_src register. 202 static struct ureg_src 216 return ureg_src(t->temps[index]); 237 return ureg_src(t->outputs[t->outputMapping[index]]); /* not needed? */ 240 return ureg_src(t->address[index]); 329 dst = ureg_dst_indirect( dst, ureg_src(t->address[0]) ) [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
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]; 200 * Map a Mesa src register to a TGSI ureg_src register. 202 static struct ureg_src 216 return ureg_src(t->temps[index]); 237 return ureg_src(t->outputs[t->outputMapping[index]]); /* not needed? */ 240 return ureg_src(t->address[index]); 329 dst = ureg_dst_indirect( dst, ureg_src(t->address[0]) ) [all...] |