HomeSort by relevance Sort by last modified time
    Searched defs:ureg (Results 1 - 25 of 34) sorted by null

1 2

  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
r300_vs.c 183 struct ureg_program *ureg; local
189 ureg = ureg_create(TGSI_PROCESSOR_VERTEX);
190 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0);
191 imm = ureg_imm4f(ureg, 0, 0, 0, 1);
193 ureg_MOV(ureg, dst, imm);
194 ureg_END(ureg);
196 shader->state.tokens = tgsi_dup_tokens(ureg_finalize(ureg));
197 ureg_destroy(ureg);
r300_fs.c 231 struct ureg_program *ureg; local
236 ureg = ureg_create(TGSI_PROCESSOR_FRAGMENT);
237 out = ureg_DECL_output(ureg, TGSI_SEMANTIC_COLOR, 0);
238 imm = ureg_imm4f(ureg, 0, 0, 0, 1);
240 ureg_MOV(ureg, out, imm);
241 ureg_END(ureg);
243 state.tokens = ureg_finalize(ureg);
248 ureg_destroy(ureg);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
svga_state_vs.c 78 struct ureg_program *ureg; local
84 ureg = ureg_create(TGSI_PROCESSOR_VERTEX);
85 if (!ureg)
88 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0);
89 src = ureg_DECL_immediate(ureg, zero, 4);
90 ureg_MOV(ureg, dst, src);
91 ureg_END(ureg);
93 tokens = ureg_get_tokens(ureg, &num_tokens);
95 ureg_destroy(ureg);
svga_state_fs.c 80 struct ureg_program *ureg; local
86 ureg = ureg_create(TGSI_PROCESSOR_FRAGMENT);
87 if (!ureg)
90 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_COLOR, 0);
91 src = ureg_DECL_immediate(ureg, red, 4);
92 ureg_MOV(ureg, dst, src);
93 ureg_END(ureg);
95 tokens = ureg_get_tokens(ureg, &num_tokens);
97 ureg_destroy(ureg);
  /external/mesa3d/src/gallium/drivers/r300/
r300_vs.c 183 struct ureg_program *ureg; local
189 ureg = ureg_create(TGSI_PROCESSOR_VERTEX);
190 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0);
191 imm = ureg_imm4f(ureg, 0, 0, 0, 1);
193 ureg_MOV(ureg, dst, imm);
194 ureg_END(ureg);
196 shader->state.tokens = tgsi_dup_tokens(ureg_finalize(ureg));
197 ureg_destroy(ureg);
r300_fs.c 231 struct ureg_program *ureg; local
236 ureg = ureg_create(TGSI_PROCESSOR_FRAGMENT);
237 out = ureg_DECL_output(ureg, TGSI_SEMANTIC_COLOR, 0);
238 imm = ureg_imm4f(ureg, 0, 0, 0, 1);
240 ureg_MOV(ureg, out, imm);
241 ureg_END(ureg);
243 state.tokens = ureg_finalize(ureg);
248 ureg_destroy(ureg);
  /external/mesa3d/src/gallium/drivers/svga/
svga_state_vs.c 78 struct ureg_program *ureg; local
84 ureg = ureg_create(TGSI_PROCESSOR_VERTEX);
85 if (!ureg)
88 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0);
89 src = ureg_DECL_immediate(ureg, zero, 4);
90 ureg_MOV(ureg, dst, src);
91 ureg_END(ureg);
93 tokens = ureg_get_tokens(ureg, &num_tokens);
95 ureg_destroy(ureg);
svga_state_fs.c 80 struct ureg_program *ureg; local
86 ureg = ureg_create(TGSI_PROCESSOR_FRAGMENT);
87 if (!ureg)
90 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_COLOR, 0);
91 src = ureg_DECL_immediate(ureg, red, 4);
92 ureg_MOV(ureg, dst, src);
93 ureg_END(ureg);
95 tokens = ureg_get_tokens(ureg, &num_tokens);
97 ureg_destroy(ureg);
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_simple_shaders.c 76 struct ureg_program *ureg; local
79 ureg = ureg_create( TGSI_PROCESSOR_VERTEX );
80 if (ureg == NULL)
87 src = ureg_DECL_vs_input( ureg, i );
89 dst = ureg_DECL_output( ureg,
93 ureg_MOV( ureg, dst, src );
96 ureg_END( ureg );
98 return ureg_create_shader_with_so_and_destroy( ureg, pipe, so );
119 struct ureg_program *ureg; local
127 ureg = ureg_create( TGSI_PROCESSOR_FRAGMENT )
181 struct ureg_program *ureg; local
227 struct ureg_program *ureg; local
281 struct ureg_program *ureg; local
337 struct ureg_program *ureg; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_simple_shaders.c 76 struct ureg_program *ureg; local
79 ureg = ureg_create( TGSI_PROCESSOR_VERTEX );
80 if (ureg == NULL)
87 src = ureg_DECL_vs_input( ureg, i );
89 dst = ureg_DECL_output( ureg,
93 ureg_MOV( ureg, dst, src );
96 ureg_END( ureg );
98 return ureg_create_shader_with_so_and_destroy( ureg, pipe, so );
119 struct ureg_program *ureg; local
127 ureg = ureg_create( TGSI_PROCESSOR_FRAGMENT )
181 struct ureg_program *ureg; local
227 struct ureg_program *ureg; local
281 struct ureg_program *ureg; local
337 struct ureg_program *ureg; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
shaders_cache.c 130 struct ureg_program *ureg; local
166 ureg = ureg_create(TGSI_PROCESSOR_FRAGMENT);
167 if (!ureg)
171 in[0] = ureg_DECL_fs_input(ureg,
175 in[1] = ureg_DECL_fs_input(ureg,
182 out = ureg_DECL_output(ureg, TGSI_SEMANTIC_COLOR, 0);
187 constant[i] = ureg_DECL_constant(ureg, i);
195 temp[i] = ureg_DECL_temporary(ureg);
202 sampler[i] = ureg_DECL_sampler(ureg, i);
208 shaders[current_shader]->func(ureg,
    [all...]
renderer.c 195 struct ureg_program *ureg; local
200 ureg = ureg_create(TGSI_PROCESSOR_VERTEX);
201 if (!ureg)
205 src[0] = ureg_DECL_vs_input(ureg, 0);
206 dst[0] = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0);
207 tmp = ureg_DECL_temporary(ureg);
209 constants[i] = ureg_DECL_constant(ureg, i);
212 ureg_DP4(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), src[0], constants[0]);
213 ureg_DP4(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), src[0], constants[1]);
214 ureg_MOV(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Z), src[0])
265 struct ureg_program *ureg; local
284 struct ureg_program *ureg; local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
shaders_cache.c 130 struct ureg_program *ureg; local
166 ureg = ureg_create(TGSI_PROCESSOR_FRAGMENT);
167 if (!ureg)
171 in[0] = ureg_DECL_fs_input(ureg,
175 in[1] = ureg_DECL_fs_input(ureg,
182 out = ureg_DECL_output(ureg, TGSI_SEMANTIC_COLOR, 0);
187 constant[i] = ureg_DECL_constant(ureg, i);
195 temp[i] = ureg_DECL_temporary(ureg);
202 sampler[i] = ureg_DECL_sampler(ureg, i);
208 shaders[current_shader]->func(ureg,
    [all...]
renderer.c 195 struct ureg_program *ureg; local
200 ureg = ureg_create(TGSI_PROCESSOR_VERTEX);
201 if (!ureg)
205 src[0] = ureg_DECL_vs_input(ureg, 0);
206 dst[0] = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0);
207 tmp = ureg_DECL_temporary(ureg);
209 constants[i] = ureg_DECL_constant(ureg, i);
212 ureg_DP4(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), src[0], constants[0]);
213 ureg_DP4(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), src[0], constants[1]);
214 ureg_MOV(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Z), src[0])
265 struct ureg_program *ureg; local
284 struct ureg_program *ureg; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/gd3d1x/
sm4_to_tgsi.cpp 78 struct ureg_program* ureg; member in struct:sm4_to_tgsi_converter
146 s = ureg_imm4f(ureg, op.imm_values[0].f32, op.imm_values[1].f32, op.imm_values[2].f32, op.imm_values[3].f32);
223 struct ureg_dst t = ureg_DECL_temporary(ureg);
236 #define OP1_(d, g) case SM4_OPCODE_##d: ureg_##g(ureg, _dst(), _src(1)); break
237 #define OP2_(d, g) case SM4_OPCODE_##d: ureg_##g(ureg, _dst(), _src(1), _src(2)); break
238 #define OP3_(d, g) case SM4_OPCODE_##d: ureg_##g(ureg, _dst(), _src(1), _src(2), _src(3)); break
242 #define OP_CF(d, g) case SM4_OPCODE_##d: ureg_##g(ureg, &label); label_to_sm4_insn_num.push_back(std::make_pair(label, program.cf_insn_linked[insn_num])); break;
248 sm4_to_tgsi_insn_num[insn_num] = ureg_get_instruction_number(ureg);
302 ureg_EMIT(ureg);
305 ureg_ENDPRIM(ureg);
827 struct ureg_program* ureg = ureg_create(TGSI_PROCESSOR_GEOMETRY); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
xa_tgsi.c 110 src_in_mask(struct ureg_program *ureg,
117 ureg_MUL(ureg, dst, src, mask);
119 ureg_MUL(ureg, dst, ureg_scalar(src, TGSI_SWIZZLE_W), mask);
122 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_X));
124 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_W));
129 vs_normalize_coords(struct ureg_program *ureg,
133 struct ureg_dst tmp = ureg_DECL_temporary(ureg);
136 ureg_MAD(ureg, tmp, coords, const0, const1);
138 ureg_release_temporary(ureg, tmp);
143 linear_gradient(struct ureg_program *ureg,
264 struct ureg_program *ureg; local
432 struct ureg_program *ureg; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
xorg_exa_tgsi.c 84 src_in_mask(struct ureg_program *ureg,
92 ureg_MUL(ureg, dst, src, mask);
94 ureg_MUL(ureg, dst,
99 ureg_MUL(ureg, dst, src,
102 ureg_MUL(ureg, dst, src,
108 vs_normalize_coords(struct ureg_program *ureg, struct ureg_src coords,
111 struct ureg_dst tmp = ureg_DECL_temporary(ureg);
113 ureg_MAD(ureg, tmp, coords, const0, const1);
115 ureg_release_temporary(ureg, tmp);
120 linear_gradient(struct ureg_program *ureg,
267 struct ureg_program *ureg; local
458 struct ureg_program *ureg; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
st_program.c 305 struct ureg_program *ureg; local
317 ureg = ureg_create( TGSI_PROCESSOR_VERTEX );
318 if (ureg == NULL) {
341 ureg,
361 ureg,
380 vpv->tgsi.tokens = ureg_get_tokens( ureg, NULL );
384 ureg_destroy( ureg );
406 ureg_destroy( ureg );
482 struct ureg_program *ureg; local
677 ureg = ureg_create( TGSI_PROCESSOR_FRAGMENT )
826 struct ureg_program *ureg; local
    [all...]
st_mesa_to_tgsi.c 67 struct ureg_program *ureg; member in struct:st_translate
173 t->temps[index] = ureg_DECL_temporary( t->ureg );
215 t->temps[index] = ureg_DECL_temporary( t->ureg );
227 return ureg_DECL_constant( t->ureg, 0 );
402 struct ureg_program *ureg = t->ureg; local
437 ureg_MOV( ureg, dst, translate_src( t, SrcReg ));
445 imm = ureg_imm3f( ureg, 0, 1, -1 );
481 ureg_MAD( ureg,
488 ureg_MUL( ureg,
518 struct ureg_program *ureg = t->ureg; local
675 struct ureg_program *ureg = t->ureg; local
780 struct ureg_program *ureg = t->ureg; local
967 struct ureg_program *ureg = t->ureg; local
986 struct ureg_program *ureg = t->ureg; local
1072 emit_wpos(st_context(ctx), t, program, ureg); local
    [all...]
st_cb_drawpixels.c 300 struct ureg_program *ureg = ureg_create( TGSI_PROCESSOR_VERTEX ); local
302 if (ureg == NULL)
306 ureg_MOV(ureg,
307 ureg_DECL_output( ureg, TGSI_SEMANTIC_POSITION, 0 ),
308 ureg_DECL_vs_input( ureg, 0 ));
311 ureg_MOV(ureg,
312 ureg_DECL_output( ureg, TGSI_SEMANTIC_GENERIC, 0 ),
313 ureg_DECL_vs_input( ureg, 1 ));
317 ureg_MOV(ureg,
318 ureg_DECL_output( ureg, TGSI_SEMANTIC_COLOR, 0 )
    [all...]
  /external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d1x/
sm4_to_tgsi.cpp 78 struct ureg_program* ureg; member in struct:sm4_to_tgsi_converter
146 s = ureg_imm4f(ureg, op.imm_values[0].f32, op.imm_values[1].f32, op.imm_values[2].f32, op.imm_values[3].f32);
223 struct ureg_dst t = ureg_DECL_temporary(ureg);
236 #define OP1_(d, g) case SM4_OPCODE_##d: ureg_##g(ureg, _dst(), _src(1)); break
237 #define OP2_(d, g) case SM4_OPCODE_##d: ureg_##g(ureg, _dst(), _src(1), _src(2)); break
238 #define OP3_(d, g) case SM4_OPCODE_##d: ureg_##g(ureg, _dst(), _src(1), _src(2), _src(3)); break
242 #define OP_CF(d, g) case SM4_OPCODE_##d: ureg_##g(ureg, &label); label_to_sm4_insn_num.push_back(std::make_pair(label, program.cf_insn_linked[insn_num])); break;
248 sm4_to_tgsi_insn_num[insn_num] = ureg_get_instruction_number(ureg);
302 ureg_EMIT(ureg);
305 ureg_ENDPRIM(ureg);
827 struct ureg_program* ureg = ureg_create(TGSI_PROCESSOR_GEOMETRY); local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/xa/
xa_tgsi.c 110 src_in_mask(struct ureg_program *ureg,
117 ureg_MUL(ureg, dst, src, mask);
119 ureg_MUL(ureg, dst, ureg_scalar(src, TGSI_SWIZZLE_W), mask);
122 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_X));
124 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_W));
129 vs_normalize_coords(struct ureg_program *ureg,
133 struct ureg_dst tmp = ureg_DECL_temporary(ureg);
136 ureg_MAD(ureg, tmp, coords, const0, const1);
138 ureg_release_temporary(ureg, tmp);
143 linear_gradient(struct ureg_program *ureg,
264 struct ureg_program *ureg; local
432 struct ureg_program *ureg; local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/xorg/
xorg_exa_tgsi.c 84 src_in_mask(struct ureg_program *ureg,
92 ureg_MUL(ureg, dst, src, mask);
94 ureg_MUL(ureg, dst,
99 ureg_MUL(ureg, dst, src,
102 ureg_MUL(ureg, dst, src,
108 vs_normalize_coords(struct ureg_program *ureg, struct ureg_src coords,
111 struct ureg_dst tmp = ureg_DECL_temporary(ureg);
113 ureg_MAD(ureg, tmp, coords, const0, const1);
115 ureg_release_temporary(ureg, tmp);
120 linear_gradient(struct ureg_program *ureg,
267 struct ureg_program *ureg; local
458 struct ureg_program *ureg; local
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_program.c 305 struct ureg_program *ureg; local
317 ureg = ureg_create( TGSI_PROCESSOR_VERTEX );
318 if (ureg == NULL) {
341 ureg,
361 ureg,
380 vpv->tgsi.tokens = ureg_get_tokens( ureg, NULL );
384 ureg_destroy( ureg );
406 ureg_destroy( ureg );
482 struct ureg_program *ureg; local
677 ureg = ureg_create( TGSI_PROCESSOR_FRAGMENT )
826 struct ureg_program *ureg; local
    [all...]
st_mesa_to_tgsi.c 67 struct ureg_program *ureg; member in struct:st_translate
173 t->temps[index] = ureg_DECL_temporary( t->ureg );
215 t->temps[index] = ureg_DECL_temporary( t->ureg );
227 return ureg_DECL_constant( t->ureg, 0 );
402 struct ureg_program *ureg = t->ureg; local
437 ureg_MOV( ureg, dst, translate_src( t, SrcReg ));
445 imm = ureg_imm3f( ureg, 0, 1, -1 );
481 ureg_MAD( ureg,
488 ureg_MUL( ureg,
518 struct ureg_program *ureg = t->ureg; local
675 struct ureg_program *ureg = t->ureg; local
780 struct ureg_program *ureg = t->ureg; local
967 struct ureg_program *ureg = t->ureg; local
986 struct ureg_program *ureg = t->ureg; local
1072 emit_wpos(st_context(ctx), t, program, ureg); local
    [all...]

Completed in 1175 milliseconds

1 2