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

1 2

  /external/mesa3d/src/gallium/auxiliary/util/
u_simple_shaders.c 80 struct ureg_program *ureg; local
83 ureg = ureg_create( PIPE_SHADER_VERTEX );
84 if (!ureg)
88 ureg_property(ureg, TGSI_PROPERTY_VS_WINDOW_SPACE_POSITION, TRUE);
94 src = ureg_DECL_vs_input( ureg, i );
96 dst = ureg_DECL_output( ureg,
100 ureg_MOV( ureg, dst, src );
103 ureg_END( ureg );
105 return ureg_create_shader_with_so_and_destroy( ureg, pipe, so );
229 struct ureg_program *ureg; local
321 struct ureg_program *ureg; local
373 struct ureg_program *ureg; local
437 struct ureg_program *ureg; local
524 struct ureg_program *ureg = ureg_create(PIPE_SHADER_FRAGMENT); local
541 struct ureg_program *ureg; local
737 struct ureg_program *ureg; local
797 struct ureg_program *ureg; local
895 struct ureg_program *ureg; local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i915/
i915_debug.h 37 extern void i915_print_ureg(const char *msg, unsigned ureg);
  /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
442 struct ureg_program *ureg; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_ureg.c 233 static void set_bad( struct ureg_program *ureg )
235 tokens_error(&ureg->domain[0]);
240 static union tgsi_any_token *get_tokens( struct ureg_program *ureg,
244 struct ureg_tokens *tokens = &ureg->domain[domain];
256 static union tgsi_any_token *retrieve_token( struct ureg_program *ureg,
260 if (ureg->domain[domain].tokens == error_tokens)
263 return &ureg->domain[domain].tokens[nr];
267 ureg_property(struct ureg_program *ureg, unsigned name, unsigned value)
269 assert(name < ARRAY_SIZE(ureg->properties));
270 ureg->properties[name] = value
2203 struct ureg_program *ureg = CALLOC_STRUCT( ureg_program ); local
    [all...]
tgsi_ureg.h 118 ureg_set_next_shader_processor(struct ureg_program *ureg, unsigned processor);
124 ureg_get_tokens( struct ureg_program *ureg,
131 ureg_get_nr_outputs( const struct ureg_program *ureg );
168 ureg_property(struct ureg_program *ureg, unsigned name, unsigned value);
198 ureg_DECL_fs_input_cyl(struct ureg_program *ureg,
204 return ureg_DECL_fs_input_cyl_centroid(ureg,
213 ureg_DECL_fs_input(struct ureg_program *ureg,
218 return ureg_DECL_fs_input_cyl_centroid(ureg,
274 ureg_DECL_output_array(struct ureg_program *ureg,
316 ureg_DECL_constant2D(struct ureg_program *ureg,
    [all...]
  /external/mesa3d/src/gallium/state_trackers/nine/
nine_ff.c 171 static void nine_ureg_tgsi_dump(struct ureg_program *ureg, boolean override)
175 const struct tgsi_token *toks = ureg_get_tokens(ureg, &count);
195 ureg_src_indirect(ureg_DECL_constant(ureg, i), _X(AL))
198 ureg_DECL_constant(ureg, 19 + (i))
200 #define _CONST(n) ureg_DECL_constant(ureg, n)
278 struct ureg_program *ureg; member in struct:vs_build_ctx
315 return ureg_DECL_vs_input(vs->ureg, i);
320 ureg_normalize3(struct ureg_program *ureg,
323 struct ureg_dst tmp = ureg_DECL_temporary(ureg);
326 ureg_DP3(ureg, tmp_x, src, src)
336 struct ureg_program *ureg = ureg_create(PIPE_SHADER_VERTEX); local
1081 struct ureg_program *ureg; member in struct:ps_build_ctx
1198 struct ureg_program *ureg = ps->ureg; local
1317 struct ureg_program *ureg = ureg_create(PIPE_SHADER_FRAGMENT); local
    [all...]
nine_shader.c 445 struct ureg_program *ureg; member in struct:shader_translator
627 tx->lconstf[n].reg = ureg_imm4f(tx->ureg, f[0], f[1], f[2], f[3]);
653 ureg_imm4i(tx->ureg, i[0], i[1], i[2], i[3]) :
654 ureg_imm4f(tx->ureg, i[0], i[1], i[2], i[3]);
678 ureg_imm1u(tx->ureg, b ? 0xffffffff : 0) :
679 ureg_imm1f(tx->ureg, b ? 1.0f : 0.0f);
690 tx->regs.t[tx->num_scratch] = ureg_DECL_local_temporary(tx->ureg);
725 tx->regs.r[idx] = ureg_DECL_temporary(tx->ureg);
733 tx->regs.address = ureg_DECL_address(tx->ureg);
735 tx->regs.a0 = ureg_DECL_temporary(tx->ureg);
896 struct ureg_program *ureg = tx->ureg; local
908 struct ureg_program *ureg = tx->ureg; local
1406 struct ureg_program *ureg = tx->ureg; local
1585 struct ureg_program *ureg = tx->ureg; local
1596 struct ureg_program *ureg = tx->ureg; local
1679 struct ureg_program *ureg = tx->ureg; local
1694 struct ureg_program *ureg = tx->ureg; local
1738 struct ureg_program *ureg = tx->ureg; local
1797 struct ureg_program *ureg = tx->ureg; local
1838 struct ureg_program *ureg = tx->ureg; local
2131 struct ureg_program *ureg = tx->ureg; local
2266 struct ureg_program *ureg = tx->ureg; local
2277 struct ureg_program *ureg = tx->ureg; local
2288 struct ureg_program *ureg = tx->ureg; local
2305 struct ureg_program *ureg = tx->ureg; local
2336 struct ureg_program *ureg = tx->ureg; local
2349 struct ureg_program *ureg = tx->ureg; local
2379 struct ureg_program *ureg = tx->ureg; local
2456 struct ureg_program *ureg = tx->ureg; local
2472 struct ureg_program *ureg = tx->ureg; local
2493 struct ureg_program *ureg = tx->ureg; local
2521 struct ureg_program *ureg = tx->ureg; local
2563 struct ureg_program *ureg = tx->ureg; local
2579 struct ureg_program *ureg = tx->ureg; local
2602 struct ureg_program *ureg = tx->ureg; local
2633 struct ureg_program *ureg = tx->ureg; local
2648 struct ureg_program *ureg = tx->ureg; local
2705 struct ureg_program *ureg = tx->ureg; local
2732 struct ureg_program *ureg = tx->ureg; local
2773 struct ureg_program *ureg = tx->ureg; local
2803 struct ureg_program *ureg = tx->ureg; local
2817 struct ureg_program *ureg = tx->ureg; local
3416 struct ureg_program *ureg = tx->ureg; local
3434 struct ureg_program *ureg = tx->ureg; local
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_pbo.c 305 struct ureg_program *ureg; local
311 ureg = ureg_create(PIPE_SHADER_VERTEX);
312 if (!ureg)
315 in_pos = ureg_DECL_vs_input(ureg, TGSI_SEMANTIC_POSITION);
317 out_pos = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0);
320 in_instanceid = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_INSTANCEID, 0);
323 out_layer = ureg_DECL_output(ureg, TGSI_SEMANTIC_LAYER, 0);
327 ureg_MOV(ureg, out_pos, in_pos);
332 ureg_I2F(ureg, ureg_writemask(out_pos, TGSI_WRITEMASK_Z),
336 ureg_MOV(ureg, out_layer, in_instanceid)
349 struct ureg_program *ureg; local
412 struct ureg_program *ureg; local
    [all...]
st_mesa_to_tgsi.c 58 struct ureg_program *ureg; member in struct:st_translate
89 t->temps[index] = ureg_DECL_temporary( t->ureg );
131 t->temps[index] = ureg_DECL_temporary( t->ureg );
140 return ureg_DECL_constant( t->ureg, 0 );
318 struct ureg_program *ureg = t->ureg; local
353 ureg_MOV( ureg, dst, translate_src( t, SrcReg ));
361 imm = ureg_imm3f( ureg, 0, 1, -1 );
397 ureg_MAD( ureg,
404 ureg_MUL( ureg,
507 struct ureg_program *ureg = t->ureg; local
593 struct ureg_program *ureg = t->ureg; local
843 emit_wpos(st_context(ctx), t, program, ureg); local
952 emit_wpos(st_context(ctx), t, program, ureg); local
    [all...]
st_mesa_to_tgsi.h 51 struct ureg_program *ureg,
st_atifs_to_tgsi.c 39 struct ureg_program *ureg; member in struct:st_translate
83 t->temps[index] = ureg_DECL_temporary(t->ureg);
106 imm[1] = ureg_imm4f(t->ureg, 1.0f, 1.0f, 0.0f, 0.0f);
107 imm[2] = ureg_imm4f(t->ureg, 0.0f, 0.0f, 1.0f, 1.0f);
108 ureg_insn(t->ureg, TGSI_OPCODE_MAD, &tmp[0], 1, imm, 3);
115 ureg_insn(t->ureg, TGSI_OPCODE_RCP, &tmp[1], 1, &imm[0], 1);
119 ureg_insn(t->ureg, TGSI_OPCODE_MUL, &tmp[0], 1, imm, 2);
132 return ureg_imm1f(t->ureg, 0.0f);
137 return ureg_imm1f(t->ureg, 0.0f);
139 return ureg_imm1f(t->ureg, 1.0f)
    [all...]
st_atifs_to_tgsi.h 42 struct ureg_program *ureg,
st_program.c 234 struct ureg_program *ureg; local
399 ureg = ureg_create_with_screen(PIPE_SHADER_VERTEX, st->pipe->screen);
400 if (ureg == NULL)
404 ureg_property(ureg, TGSI_PROPERTY_NUM_CLIPDIST_ENABLED,
407 ureg_property(ureg, TGSI_PROPERTY_NUM_CULLDIST_ENABLED,
419 ureg,
445 ureg,
466 stvp->tgsi.tokens = ureg_get_tokens(ureg, NULL);
467 ureg_destroy(ureg);
574 struct ureg_program *ureg; local
1486 struct ureg_program *ureg; local
1573 struct ureg_program *ureg; local
1598 struct ureg_program *ureg; local
1640 struct ureg_program *ureg; local
    [all...]
st_glsl_to_tgsi.h 41 struct ureg_program *ureg,
  /external/mesa3d/src/mesa/main/
ffvertex_prog.c 295 struct ureg { struct
314 struct ureg eye_position;
315 struct ureg eye_position_z;
316 struct ureg eye_position_normalized;
317 struct ureg transformed_normal;
318 struct ureg identity;
325 static const struct ureg undef = {
341 /* Construct a ureg:
343 static struct ureg make_ureg(GLuint file, GLint idx)
345 struct ureg reg
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/
freedreno_program.c 98 struct ureg_program *ureg; local
102 ureg = ureg_create(PIPE_SHADER_FRAGMENT);
103 if (!ureg)
107 ureg, TGSI_SEMANTIC_GENERIC, 0, TGSI_INTERPOLATE_PERSPECTIVE);
109 ureg_TEX(ureg, ureg_DECL_output(ureg, TGSI_SEMANTIC_COLOR, i),
110 TGSI_TEXTURE_2D, tc, ureg_DECL_sampler(ureg, i));
112 ureg_TEX(ureg,
114 ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0),
116 TGSI_TEXTURE_2D, tc, ureg_DECL_sampler(ureg, rts))
    [all...]
  /external/mesa3d/src/gallium/drivers/svga/
svga_state_vs.c 51 struct ureg_program *ureg; local
57 ureg = ureg_create(PIPE_SHADER_VERTEX);
58 if (!ureg)
61 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0);
62 src = ureg_DECL_immediate(ureg, zero, 4);
63 ureg_MOV(ureg, dst, src);
64 ureg_END(ureg);
66 tokens = ureg_get_tokens(ureg, &num_tokens);
68 ureg_destroy(ureg);
266 struct ureg_program *ureg; local
    [all...]
svga_state_fs.c 60 struct ureg_program *ureg; local
66 ureg = ureg_create(PIPE_SHADER_FRAGMENT);
67 if (!ureg)
70 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_COLOR, 0);
71 src = ureg_DECL_immediate(ureg, color, 4);
72 ureg_MOV(ureg, dst, src);
73 ureg_END(ureg);
75 tokens = ureg_get_tokens(ureg, &num_tokens);
77 ureg_destroy(ureg);
  /external/mesa3d/src/gallium/drivers/r300/
r300_vs.c 184 struct ureg_program *ureg; local
190 ureg = ureg_create(PIPE_SHADER_VERTEX);
191 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0);
192 imm = ureg_imm4f(ureg, 0, 0, 0, 1);
194 ureg_MOV(ureg, dst, imm);
195 ureg_END(ureg);
197 shader->state.tokens = tgsi_dup_tokens(ureg_finalize(ureg));
198 ureg_destroy(ureg);
  /prebuilts/go/darwin-x86/src/runtime/
defs_plan9_386.go 5 type ureg struct { type
28 u *ureg
44 func dumpregs(u *ureg) {
defs_plan9_amd64.go 5 type ureg struct { type
37 u *ureg
53 func dumpregs(u *ureg) {
defs_plan9_arm.go 9 type ureg struct { type
31 u *ureg
46 func dumpregs(u *ureg) {
  /prebuilts/go/linux-x86/src/runtime/
defs_plan9_386.go 5 type ureg struct { type
28 u *ureg
44 func dumpregs(u *ureg) {
defs_plan9_amd64.go 5 type ureg struct { type
37 u *ureg
53 func dumpregs(u *ureg) {
defs_plan9_arm.go 9 type ureg struct { type
31 u *ureg
46 func dumpregs(u *ureg) {

Completed in 346 milliseconds

1 2