/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/mesa3d/src/gallium/state_trackers/vega/ |
asm_fill.h | 32 typedef void (* ureg_func)( struct ureg_program *ureg, 40 solid_fill( struct ureg_program *ureg, 47 ureg_MOV(ureg, *out, constant[2]); 55 ureg_MOV(ureg, ureg_writemask(temp[0], TGSI_WRITEMASK_XY), in[0]); \ 56 ureg_MOV(ureg, \ 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])); \ 63 ureg_MUL(ureg, temp[1], ureg_src(temp[1]), ureg_src(temp[3])); [all...] |
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/auxiliary/tgsi/ |
tgsi_ureg.c | 210 static void set_bad( struct ureg_program *ureg ) 212 tokens_error(&ureg->domain[0]); 217 static union tgsi_any_token *get_tokens( struct ureg_program *ureg, 221 struct ureg_tokens *tokens = &ureg->domain[domain]; 233 static union tgsi_any_token *retrieve_token( struct ureg_program *ureg, 237 if (ureg->domain[domain].tokens == error_tokens) 240 return &ureg->domain[domain].tokens[nr]; 270 ureg_property_gs_input_prim(struct ureg_program *ureg, 273 ureg->property_gs_input_prim = input_prim; 277 ureg_property_gs_output_prim(struct ureg_program *ureg, 1697 struct ureg_program *ureg = CALLOC_STRUCT( ureg_program ); local [all...] |
tgsi_ureg.h | 109 ureg_get_tokens( struct ureg_program *ureg, 147 ureg_property_gs_input_prim(struct ureg_program *ureg, 151 ureg_property_gs_output_prim(struct ureg_program *ureg, 155 ureg_property_gs_max_vertices(struct ureg_program *ureg, 159 ureg_property_fs_coord_origin(struct ureg_program *ureg, 163 ureg_property_fs_coord_pixel_center(struct ureg_program *ureg, 167 ureg_property_fs_color0_writes_all_cbufs(struct ureg_program *ureg, 171 ureg_property_fs_depth_layout(struct ureg_program *ureg, 188 ureg_DECL_fs_input_cyl(struct ureg_program *ureg, 194 return ureg_DECL_fs_input_cyl_centroid(ureg, [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/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/mesa/drivers/dri/i915/ |
i915_debug.h | 47 extern void i915_print_ureg(const char *msg, unsigned 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/mesa/state_tracker/ |
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_mesa_to_tgsi.h | 51 struct ureg_program *ureg,
|
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_glsl_to_tgsi.h | 40 struct ureg_program *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);
|
/prebuilts/go/darwin-x86/src/runtime/ |
defs_plan9_386.go | 5 type ureg struct { type 28 u *ureg 37 func dumpregs(u *ureg) {
|
defs_plan9_amd64.go | 5 type ureg struct { type 37 u *ureg 46 func dumpregs(u *ureg) {
|
os3_plan9.go | 11 func sighandler(_ureg *ureg, note *byte, gp *g) int { 21 // The kernel will never pass us a nil note or ureg so we probably 24 print("sighandler: ureg ", _ureg, " note ", note, "\n")
|
/prebuilts/go/linux-x86/src/runtime/ |
defs_plan9_386.go | 5 type ureg struct { type 28 u *ureg 37 func dumpregs(u *ureg) {
|
defs_plan9_amd64.go | 5 type ureg struct { type 37 u *ureg 46 func dumpregs(u *ureg) {
|
os3_plan9.go | 11 func sighandler(_ureg *ureg, note *byte, gp *g) int { 21 // The kernel will never pass us a nil note or ureg so we probably 24 print("sighandler: ureg ", _ureg, " note ", note, "\n")
|
/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);
|