| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xa/ |
| H A D | xa_tgsi.c | 107 src_in_mask(struct ureg_program *ureg, argument 115 ureg_MOV(ureg, dst, src); 116 ureg_MUL(ureg, ureg_writemask(dst, TGSI_WRITEMASK_W), 119 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_X)); 122 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_W)); 124 ureg_MUL(ureg, dst, src, mask); 128 vs_normalize_coords(struct ureg_program *ureg, argument 132 struct ureg_dst tmp = ureg_DECL_temporary(ureg); 135 ureg_MAD(ureg, tmp, coords, const0, const1); 137 ureg_release_temporary(ureg, tm 144 struct ureg_program *ureg; local in function:create_vs 194 create_yuv_shader(struct pipe_context * pipe,struct ureg_program * ureg) argument 257 xrender_tex(struct ureg_program * ureg,struct ureg_dst dst,struct ureg_src coords,struct ureg_src sampler,const struct ureg_src * imm0,boolean repeat_none,boolean swizzle,boolean set_alpha) argument 315 read_input(struct ureg_program * ureg,struct ureg_dst dst,const struct ureg_src * imm0,boolean repeat_none,boolean swizzle,boolean set_alpha,boolean is_src,unsigned * cur_constant,unsigned * cur_sampler) argument 342 struct ureg_program *ureg; local in function:create_fs [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xa/ |
| H A D | xa_tgsi.c | 107 src_in_mask(struct ureg_program *ureg, argument 115 ureg_MOV(ureg, dst, src); 116 ureg_MUL(ureg, ureg_writemask(dst, TGSI_WRITEMASK_W), 119 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_X)); 122 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_W)); 124 ureg_MUL(ureg, dst, src, mask); 128 vs_normalize_coords(struct ureg_program *ureg, argument 132 struct ureg_dst tmp = ureg_DECL_temporary(ureg); 135 ureg_MAD(ureg, tmp, coords, const0, const1); 137 ureg_release_temporary(ureg, tm 144 struct ureg_program *ureg; local in function:create_vs 194 create_yuv_shader(struct pipe_context * pipe,struct ureg_program * ureg) argument 257 xrender_tex(struct ureg_program * ureg,struct ureg_dst dst,struct ureg_src coords,struct ureg_src sampler,const struct ureg_src * imm0,boolean repeat_none,boolean swizzle,boolean set_alpha) argument 315 read_input(struct ureg_program * ureg,struct ureg_dst dst,const struct ureg_src * imm0,boolean repeat_none,boolean swizzle,boolean set_alpha,boolean is_src,unsigned * cur_constant,unsigned * cur_sampler) argument 342 struct ureg_program *ureg; local in function:create_fs [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| H A D | u_simple_shaders.c | 80 struct ureg_program *ureg; local in function:util_make_vertex_passthrough_shader_with_so 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 ); 105 ureg_DECL_system_value(ureg, TGSI_SEMANTIC_INSTANCEID, 0); 106 struct ureg_dst layer = ureg_DECL_output(ureg, TGSI_SEMANTIC_LAYER, 0); 108 ureg_MOV(ureg, ureg_writemas 203 ureg_load_tex(struct ureg_program * ureg,struct ureg_dst out,struct ureg_src coord,struct ureg_src sampler,enum tgsi_texture_type tex_target,bool load_level_zero,bool use_txf) argument 239 struct ureg_program *ureg; local in function:util_make_fragment_tex_shader_xrbias 295 struct ureg_program *ureg; local in function:util_make_fragment_tex_shader_writemask 390 struct ureg_program *ureg; local in function:util_make_fs_blit_zs 484 struct ureg_program *ureg = ureg_create(PIPE_SHADER_FRAGMENT); local in function:util_make_empty_fragment_shader 501 struct ureg_program *ureg; local in function:util_make_fragment_cloneinput_shader 698 struct ureg_program *ureg; local in function:util_make_fs_msaa_resolve 759 struct ureg_program *ureg; local in function:util_make_fs_msaa_resolve_bilinear 857 struct ureg_program *ureg; local in function:util_make_geometry_passthrough_shader 918 struct ureg_program *ureg; local in function:util_make_fs_pack_color_zs 1081 struct ureg_program *ureg; local in function:util_make_tess_ctrl_passthrough_shader [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_shaderlib_tgsi.c | 59 struct ureg_program *ureg = ureg_create(PIPE_SHADER_VERTEX); local in function:si_get_blitter_vs 60 if (!ureg) 64 ureg_property(ureg, TGSI_PROPERTY_VS_BLIT_SGPRS, vs_blit_property); 65 ureg_property(ureg, TGSI_PROPERTY_VS_WINDOW_SPACE_POSITION, true); 68 ureg_MOV(ureg, 69 ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0), 70 ureg_DECL_vs_input(ureg, 0)); 73 ureg_MOV(ureg, 74 ureg_DECL_output(ureg, TGSI_SEMANTIC_GENERIC, 0), 75 ureg_DECL_vs_input(ureg, 102 struct ureg_program *ureg = ureg_create(PIPE_SHADER_TESS_CTRL); local in function:si_create_fixed_func_tcs 144 struct ureg_program *ureg = ureg_create(PIPE_SHADER_COMPUTE); local in function:si_create_dma_compute_shader 239 struct ureg_program *ureg = ureg_create(PIPE_SHADER_COMPUTE); local in function:si_create_dcc_retile_cs [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/ |
| H A D | i915_debug.h | 37 extern void i915_print_ureg(const char *msg, unsigned ureg);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/ |
| H A D | i915_debug.h | 37 extern void i915_print_ureg(const char *msg, unsigned ureg);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_ureg.c | 244 static void set_bad( struct ureg_program *ureg ) argument 246 tokens_error(&ureg->domain[0]); 251 static union tgsi_any_token *get_tokens( struct ureg_program *ureg, argument 255 struct ureg_tokens *tokens = &ureg->domain[domain]; 267 static union tgsi_any_token *retrieve_token( struct ureg_program *ureg, argument 271 if (ureg->domain[domain].tokens == error_tokens) 274 return &ureg->domain[domain].tokens[nr]; 279 ureg_property(struct ureg_program *ureg, unsigned name, unsigned value) argument 281 assert(name < ARRAY_SIZE(ureg->properties)); 282 ureg 286 ureg_DECL_fs_input_centroid_layout(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,enum tgsi_interpolate_mode interp_mode,enum tgsi_interpolate_loc interp_location,unsigned index,unsigned usage_mask,unsigned array_id,unsigned array_size) argument 336 ureg_DECL_fs_input_centroid(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,enum tgsi_interpolate_mode interp_mode,enum tgsi_interpolate_loc interp_location,unsigned array_id,unsigned array_size) argument 352 ureg_DECL_vs_input(struct ureg_program * ureg,unsigned index) argument 364 ureg_DECL_input_layout(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned index,unsigned usage_mask,unsigned array_id,unsigned array_size) argument 380 ureg_DECL_input(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned array_id,unsigned array_size) argument 394 ureg_DECL_system_value(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index) argument 422 ureg_DECL_output_layout(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned streams,unsigned index,unsigned usage_mask,unsigned array_id,unsigned array_size,boolean invariant) argument 476 ureg_DECL_output_masked(struct ureg_program * ureg,unsigned name,unsigned index,unsigned usage_mask,unsigned array_id,unsigned array_size) argument 490 ureg_DECL_output(struct ureg_program * ureg,enum tgsi_semantic name,unsigned index) argument 499 ureg_DECL_output_array(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned array_id,unsigned array_size) argument 522 ureg_DECL_constant2D(struct ureg_program * ureg,unsigned first,unsigned last,unsigned index2D) argument 546 ureg_DECL_constant(struct ureg_program * ureg,unsigned index) argument 609 ureg_DECL_hw_atomic(struct ureg_program * ureg,unsigned first,unsigned last,unsigned buffer_id,unsigned array_id) argument 628 alloc_temporary(struct ureg_program * ureg,boolean local) argument 660 ureg_DECL_temporary(struct ureg_program * ureg) argument 665 ureg_DECL_local_temporary(struct ureg_program * ureg) argument 670 ureg_DECL_array_temporary(struct ureg_program * ureg,unsigned size,boolean local) argument 696 ureg_release_temporary(struct ureg_program * ureg,struct ureg_dst tmp) argument 706 ureg_DECL_address(struct ureg_program * ureg) argument 717 ureg_DECL_sampler(struct ureg_program * ureg,unsigned nr) argument 740 ureg_DECL_sampler_view(struct ureg_program * ureg,unsigned index,enum tgsi_texture_type target,enum tgsi_return_type return_type_x,enum tgsi_return_type return_type_y,enum tgsi_return_type return_type_z,enum tgsi_return_type return_type_w) argument 775 ureg_DECL_image(struct ureg_program * ureg,unsigned index,enum tgsi_texture_type target,enum pipe_format format,boolean wr,boolean raw) argument 805 ureg_DECL_buffer(struct ureg_program * ureg,unsigned nr,bool atomic) argument 828 ureg_DECL_memory(struct ureg_program * ureg,unsigned memory_type) argument 923 decl_immediate(struct ureg_program * ureg,const unsigned * v,unsigned nr,unsigned type) argument 988 ureg_DECL_immediate(struct ureg_program * ureg,const float * v,unsigned nr) argument 1006 ureg_DECL_immediate_f64(struct ureg_program * ureg,const double * v,unsigned nr) argument 1025 ureg_DECL_immediate_uint(struct ureg_program * ureg,const unsigned * v,unsigned nr) argument 1034 ureg_DECL_immediate_block_uint(struct ureg_program * ureg,const unsigned * v,unsigned nr) argument 1063 ureg_DECL_immediate_int(struct ureg_program * ureg,const int * v,unsigned nr) argument 1071 ureg_DECL_immediate_uint64(struct ureg_program * ureg,const uint64_t * v,unsigned nr) argument 1090 ureg_DECL_immediate_int64(struct ureg_program * ureg,const int64_t * v,unsigned nr) argument 1109 ureg_emit_src(struct ureg_program * ureg,struct ureg_src src) argument 1175 ureg_emit_dst(struct ureg_program * ureg,struct ureg_dst dst) argument 1253 ureg_emit_insn(struct ureg_program * ureg,enum tgsi_opcode opcode,boolean saturate,unsigned precise,unsigned num_dst,unsigned num_src) argument 1290 ureg_emit_label(struct ureg_program * ureg,unsigned extended_token,unsigned * label_token) argument 1312 ureg_get_instruction_number(struct ureg_program * ureg) argument 1321 ureg_fixup_label(struct ureg_program * ureg,unsigned label_token,unsigned instruction_number) argument 1332 ureg_emit_texture(struct ureg_program * ureg,unsigned extended_token,enum tgsi_texture_type target,enum tgsi_return_type return_type,unsigned num_offsets) argument 1351 ureg_emit_texture_offset(struct ureg_program * ureg,const struct tgsi_texture_offset * offset) argument 1363 ureg_emit_memory(struct ureg_program * ureg,unsigned extended_token,unsigned qualifier,enum tgsi_texture_type texture,enum pipe_format format) argument 1383 ureg_fixup_insn_size(struct ureg_program * ureg,unsigned insn) argument 1394 ureg_insn(struct ureg_program * ureg,enum tgsi_opcode opcode,const struct ureg_dst * dst,unsigned nr_dst,const struct ureg_src * src,unsigned nr_src,unsigned precise) argument 1429 ureg_tex_insn(struct ureg_program * ureg,enum tgsi_opcode opcode,const struct ureg_dst * dst,unsigned nr_dst,enum tgsi_texture_type target,enum tgsi_return_type return_type,const struct tgsi_texture_offset * texoffsets,unsigned nr_offset,const struct ureg_src * src,unsigned nr_src) argument 1474 ureg_memory_insn(struct ureg_program * ureg,enum tgsi_opcode opcode,const struct ureg_dst * dst,unsigned nr_dst,const struct ureg_src * src,unsigned nr_src,unsigned qualifier,enum tgsi_texture_type texture,enum pipe_format format) argument 1507 emit_decl_semantic(struct ureg_program * ureg,unsigned file,unsigned first,unsigned last,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned streams,unsigned usage_mask,unsigned array_id,boolean invariant) argument 1548 emit_decl_atomic_2d(struct ureg_program * ureg,unsigned first,unsigned last,unsigned index2D,unsigned array_id) argument 1578 emit_decl_fs(struct ureg_program * ureg,unsigned file,unsigned first,unsigned last,enum tgsi_semantic semantic_name,unsigned semantic_index,enum tgsi_interpolate_mode interpolate,enum tgsi_interpolate_loc interpolate_location,unsigned array_id,unsigned usage_mask) argument 1620 emit_decl_temps(struct ureg_program * ureg,unsigned first,unsigned last,boolean local,unsigned arrayid) argument 1646 emit_decl_range(struct ureg_program * ureg,unsigned file,unsigned first,unsigned count) argument 1666 emit_decl_range2D(struct ureg_program * ureg,unsigned file,unsigned first,unsigned last,unsigned index2D) argument 1690 emit_decl_sampler_view(struct ureg_program * ureg,unsigned index,enum tgsi_texture_type target,enum tgsi_return_type return_type_x,enum tgsi_return_type return_type_y,enum tgsi_return_type return_type_z,enum tgsi_return_type return_type_w) argument 1719 emit_decl_image(struct ureg_program * ureg,unsigned index,enum tgsi_texture_type target,enum pipe_format format,boolean wr,boolean raw) argument 1746 emit_decl_buffer(struct ureg_program * ureg,unsigned index,bool atomic) argument 1765 emit_decl_memory(struct ureg_program * ureg,unsigned memory_type) argument 1782 emit_immediate(struct ureg_program * ureg,const unsigned * v,unsigned type) argument 1801 emit_property(struct ureg_program * ureg,unsigned name,unsigned data) argument 1831 emit_decls(struct ureg_program * ureg) argument 2056 copy_instructions(struct ureg_program * ureg) argument 2070 fixup_header_size(struct ureg_program * ureg) argument 2079 emit_header(struct ureg_program * ureg) argument 2091 ureg_finalize(struct ureg_program * ureg) argument 2151 ureg_create_shader(struct ureg_program * ureg,struct pipe_context * pipe,const struct pipe_stream_output_info * so) argument 2181 ureg_get_tokens(struct ureg_program * ureg,unsigned * nr_tokens) argument 2220 struct ureg_program *ureg = CALLOC_STRUCT( ureg_program ); local in function:ureg_create_with_screen 2260 ureg_set_next_shader_processor(struct ureg_program * ureg,unsigned processor) argument 2267 ureg_get_nr_outputs(const struct ureg_program * ureg) argument 2275 ureg_setup_clipdist_info(struct ureg_program * ureg,const struct shader_info * info) argument 2287 ureg_setup_tess_ctrl_shader(struct ureg_program * ureg,const struct shader_info * info) argument 2295 ureg_setup_tess_eval_shader(struct ureg_program * ureg,const struct shader_info * info) argument 2320 ureg_setup_geometry_shader(struct ureg_program * ureg,const struct shader_info * info) argument 2334 ureg_setup_fragment_shader(struct ureg_program * ureg,const struct shader_info * info) argument 2374 ureg_setup_compute_shader(struct ureg_program * ureg,const struct shader_info * info) argument 2389 ureg_setup_shader_info(struct ureg_program * ureg,const struct shader_info * info) argument 2424 ureg_destroy(struct ureg_program * ureg) argument [all...] |
| H A D | tgsi_ureg.h | 117 ureg_set_next_shader_processor(struct ureg_program *ureg, unsigned processor); 123 ureg_get_tokens( struct ureg_program *ureg, 130 ureg_get_nr_outputs( const struct ureg_program *ureg ); 167 ureg_property(struct ureg_program *ureg, unsigned name, unsigned value); 195 ureg_DECL_fs_input(struct ureg_program *ureg, argument 200 return ureg_DECL_fs_input_centroid(ureg, 257 ureg_DECL_output_array(struct ureg_program *ureg, 299 ureg_DECL_constant2D(struct ureg_program *ureg, 309 ureg_DECL_hw_atomic(struct ureg_program *ureg, 335 ureg_release_temporary( struct ureg_program *ureg, 374 ureg_imm4f(struct ureg_program * ureg,float a,float b,float c,float d) argument 387 ureg_imm3f(struct ureg_program * ureg,float a,float b,float c) argument 399 ureg_imm2f(struct ureg_program * ureg,float a,float b) argument 409 ureg_imm1f(struct ureg_program * ureg,float a) argument 418 ureg_imm4u(struct ureg_program * ureg,unsigned a,unsigned b,unsigned c,unsigned d) argument 431 ureg_imm3u(struct ureg_program * ureg,unsigned a,unsigned b,unsigned c) argument 443 ureg_imm2u(struct ureg_program * ureg,unsigned a,unsigned b) argument 453 ureg_imm1u(struct ureg_program * ureg,unsigned a) argument 460 ureg_imm4i(struct ureg_program * ureg,int a,int b,int c,int d) argument 473 ureg_imm3i(struct ureg_program * ureg,int a,int b,int c) argument 485 ureg_imm2i(struct ureg_program * ureg,int a,int b) argument 495 ureg_imm1i(struct ureg_program * ureg,int a) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_simple_shaders.c | 80 struct ureg_program *ureg; local in function:util_make_vertex_passthrough_shader_with_so 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 ); 105 ureg_DECL_system_value(ureg, TGSI_SEMANTIC_INSTANCEID, 0); 106 struct ureg_dst layer = ureg_DECL_output(ureg, TGSI_SEMANTIC_LAYER, 0); 108 ureg_MOV(ureg, ureg_writemas 203 ureg_load_tex(struct ureg_program * ureg,struct ureg_dst out,struct ureg_src coord,struct ureg_src sampler,enum tgsi_texture_type tex_target,bool load_level_zero,bool use_txf) argument 239 struct ureg_program *ureg; local in function:util_make_fragment_tex_shader_xrbias 295 struct ureg_program *ureg; local in function:util_make_fragment_tex_shader_writemask 392 struct ureg_program *ureg; local in function:util_make_fragment_tex_shader_writedepth 445 struct ureg_program *ureg; local in function:util_make_fragment_tex_shader_writedepthstencil 509 struct ureg_program *ureg; local in function:util_make_fragment_tex_shader_writestencil 595 struct ureg_program *ureg = ureg_create(PIPE_SHADER_FRAGMENT); local in function:util_make_empty_fragment_shader 612 struct ureg_program *ureg; local in function:util_make_fragment_cloneinput_shader 808 struct ureg_program *ureg; local in function:util_make_fs_msaa_resolve 869 struct ureg_program *ureg; local in function:util_make_fs_msaa_resolve_bilinear 967 struct ureg_program *ureg; local in function:util_make_geometry_passthrough_shader [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_ureg.c | 242 static void set_bad( struct ureg_program *ureg ) argument 244 tokens_error(&ureg->domain[0]); 249 static union tgsi_any_token *get_tokens( struct ureg_program *ureg, argument 253 struct ureg_tokens *tokens = &ureg->domain[domain]; 265 static union tgsi_any_token *retrieve_token( struct ureg_program *ureg, argument 269 if (ureg->domain[domain].tokens == error_tokens) 272 return &ureg->domain[domain].tokens[nr]; 277 ureg_property(struct ureg_program *ureg, unsigned name, unsigned value) argument 279 assert(name < ARRAY_SIZE(ureg->properties)); 280 ureg 284 ureg_DECL_fs_input_cyl_centroid_layout(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,enum tgsi_interpolate_mode interp_mode,unsigned cylindrical_wrap,enum tgsi_interpolate_loc interp_location,unsigned index,unsigned usage_mask,unsigned array_id,unsigned array_size) argument 337 ureg_DECL_fs_input_cyl_centroid(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,enum tgsi_interpolate_mode interp_mode,unsigned cylindrical_wrap,enum tgsi_interpolate_loc interp_location,unsigned array_id,unsigned array_size) argument 354 ureg_DECL_vs_input(struct ureg_program * ureg,unsigned index) argument 366 ureg_DECL_input_layout(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned index,unsigned usage_mask,unsigned array_id,unsigned array_size) argument 382 ureg_DECL_input(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned array_id,unsigned array_size) argument 396 ureg_DECL_system_value(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index) argument 424 ureg_DECL_output_layout(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned streams,unsigned index,unsigned usage_mask,unsigned array_id,unsigned array_size,boolean invariant) argument 478 ureg_DECL_output_masked(struct ureg_program * ureg,unsigned name,unsigned index,unsigned usage_mask,unsigned array_id,unsigned array_size) argument 492 ureg_DECL_output(struct ureg_program * ureg,enum tgsi_semantic name,unsigned index) argument 501 ureg_DECL_output_array(struct ureg_program * ureg,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned array_id,unsigned array_size) argument 524 ureg_DECL_constant2D(struct ureg_program * ureg,unsigned first,unsigned last,unsigned index2D) argument 548 ureg_DECL_constant(struct ureg_program * ureg,unsigned index) argument 611 ureg_DECL_hw_atomic(struct ureg_program * ureg,unsigned first,unsigned last,unsigned buffer_id,unsigned array_id) argument 630 alloc_temporary(struct ureg_program * ureg,boolean local) argument 662 ureg_DECL_temporary(struct ureg_program * ureg) argument 667 ureg_DECL_local_temporary(struct ureg_program * ureg) argument 672 ureg_DECL_array_temporary(struct ureg_program * ureg,unsigned size,boolean local) argument 698 ureg_release_temporary(struct ureg_program * ureg,struct ureg_dst tmp) argument 708 ureg_DECL_address(struct ureg_program * ureg) argument 719 ureg_DECL_sampler(struct ureg_program * ureg,unsigned nr) argument 742 ureg_DECL_sampler_view(struct ureg_program * ureg,unsigned index,enum tgsi_texture_type target,enum tgsi_return_type return_type_x,enum tgsi_return_type return_type_y,enum tgsi_return_type return_type_z,enum tgsi_return_type return_type_w) argument 777 ureg_DECL_image(struct ureg_program * ureg,unsigned index,enum tgsi_texture_type target,enum pipe_format format,boolean wr,boolean raw) argument 807 ureg_DECL_buffer(struct ureg_program * ureg,unsigned nr,bool atomic) argument 830 ureg_DECL_memory(struct ureg_program * ureg,unsigned memory_type) argument 925 decl_immediate(struct ureg_program * ureg,const unsigned * v,unsigned nr,unsigned type) argument 990 ureg_DECL_immediate(struct ureg_program * ureg,const float * v,unsigned nr) argument 1008 ureg_DECL_immediate_f64(struct ureg_program * ureg,const double * v,unsigned nr) argument 1027 ureg_DECL_immediate_uint(struct ureg_program * ureg,const unsigned * v,unsigned nr) argument 1036 ureg_DECL_immediate_block_uint(struct ureg_program * ureg,const unsigned * v,unsigned nr) argument 1065 ureg_DECL_immediate_int(struct ureg_program * ureg,const int * v,unsigned nr) argument 1073 ureg_DECL_immediate_uint64(struct ureg_program * ureg,const uint64_t * v,unsigned nr) argument 1092 ureg_DECL_immediate_int64(struct ureg_program * ureg,const int64_t * v,unsigned nr) argument 1111 ureg_emit_src(struct ureg_program * ureg,struct ureg_src src) argument 1177 ureg_emit_dst(struct ureg_program * ureg,struct ureg_dst dst) argument 1255 ureg_emit_insn(struct ureg_program * ureg,enum tgsi_opcode opcode,boolean saturate,unsigned precise,unsigned num_dst,unsigned num_src) argument 1292 ureg_emit_label(struct ureg_program * ureg,unsigned extended_token,unsigned * label_token) argument 1314 ureg_get_instruction_number(struct ureg_program * ureg) argument 1323 ureg_fixup_label(struct ureg_program * ureg,unsigned label_token,unsigned instruction_number) argument 1334 ureg_emit_texture(struct ureg_program * ureg,unsigned extended_token,enum tgsi_texture_type target,enum tgsi_return_type return_type,unsigned num_offsets) argument 1353 ureg_emit_texture_offset(struct ureg_program * ureg,const struct tgsi_texture_offset * offset) argument 1365 ureg_emit_memory(struct ureg_program * ureg,unsigned extended_token,unsigned qualifier,enum tgsi_texture_type texture,enum pipe_format format) argument 1385 ureg_fixup_insn_size(struct ureg_program * ureg,unsigned insn) argument 1396 ureg_insn(struct ureg_program * ureg,enum tgsi_opcode opcode,const struct ureg_dst * dst,unsigned nr_dst,const struct ureg_src * src,unsigned nr_src,unsigned precise) argument 1431 ureg_tex_insn(struct ureg_program * ureg,enum tgsi_opcode opcode,const struct ureg_dst * dst,unsigned nr_dst,enum tgsi_texture_type target,enum tgsi_return_type return_type,const struct tgsi_texture_offset * texoffsets,unsigned nr_offset,const struct ureg_src * src,unsigned nr_src) argument 1476 ureg_memory_insn(struct ureg_program * ureg,enum tgsi_opcode opcode,const struct ureg_dst * dst,unsigned nr_dst,const struct ureg_src * src,unsigned nr_src,unsigned qualifier,enum tgsi_texture_type texture,enum pipe_format format) argument 1509 emit_decl_semantic(struct ureg_program * ureg,unsigned file,unsigned first,unsigned last,enum tgsi_semantic semantic_name,unsigned semantic_index,unsigned streams,unsigned usage_mask,unsigned array_id,boolean invariant) argument 1550 emit_decl_atomic_2d(struct ureg_program * ureg,unsigned first,unsigned last,unsigned index2D,unsigned array_id) argument 1580 emit_decl_fs(struct ureg_program * ureg,unsigned file,unsigned first,unsigned last,enum tgsi_semantic semantic_name,unsigned semantic_index,enum tgsi_interpolate_mode interpolate,unsigned cylindrical_wrap,enum tgsi_interpolate_loc interpolate_location,unsigned array_id,unsigned usage_mask) argument 1624 emit_decl_temps(struct ureg_program * ureg,unsigned first,unsigned last,boolean local,unsigned arrayid) argument 1650 emit_decl_range(struct ureg_program * ureg,unsigned file,unsigned first,unsigned count) argument 1670 emit_decl_range2D(struct ureg_program * ureg,unsigned file,unsigned first,unsigned last,unsigned index2D) argument 1694 emit_decl_sampler_view(struct ureg_program * ureg,unsigned index,enum tgsi_texture_type target,enum tgsi_return_type return_type_x,enum tgsi_return_type return_type_y,enum tgsi_return_type return_type_z,enum tgsi_return_type return_type_w) argument 1723 emit_decl_image(struct ureg_program * ureg,unsigned index,enum tgsi_texture_type target,enum pipe_format format,boolean wr,boolean raw) argument 1750 emit_decl_buffer(struct ureg_program * ureg,unsigned index,bool atomic) argument 1769 emit_decl_memory(struct ureg_program * ureg,unsigned memory_type) argument 1786 emit_immediate(struct ureg_program * ureg,const unsigned * v,unsigned type) argument 1805 emit_property(struct ureg_program * ureg,unsigned name,unsigned data) argument 1820 emit_decls(struct ureg_program * ureg) argument 2037 copy_instructions(struct ureg_program * ureg) argument 2051 fixup_header_size(struct ureg_program * ureg) argument 2060 emit_header(struct ureg_program * ureg) argument 2072 ureg_finalize(struct ureg_program * ureg) argument 2132 ureg_create_shader(struct ureg_program * ureg,struct pipe_context * pipe,const struct pipe_stream_output_info * so) argument 2162 ureg_get_tokens(struct ureg_program * ureg,unsigned * nr_tokens) argument 2201 struct ureg_program *ureg = CALLOC_STRUCT( ureg_program ); local in function:ureg_create_with_screen 2241 ureg_set_next_shader_processor(struct ureg_program * ureg,unsigned processor) argument 2248 ureg_get_nr_outputs(const struct ureg_program * ureg) argument 2256 ureg_destroy(struct ureg_program * ureg) argument [all...] |
| H A D | tgsi_ureg.h | 115 ureg_set_next_shader_processor(struct ureg_program *ureg, unsigned processor); 121 ureg_get_tokens( struct ureg_program *ureg, 128 ureg_get_nr_outputs( const struct ureg_program *ureg ); 165 ureg_property(struct ureg_program *ureg, unsigned name, unsigned value); 195 ureg_DECL_fs_input_cyl(struct ureg_program *ureg, argument 201 return ureg_DECL_fs_input_cyl_centroid(ureg, 210 ureg_DECL_fs_input(struct ureg_program *ureg, argument 215 return ureg_DECL_fs_input_cyl_centroid(ureg, 272 ureg_DECL_output_array(struct ureg_program *ureg, 314 ureg_DECL_constant2D(struct ureg_program *ureg, 389 ureg_imm4f(struct ureg_program * ureg,float a,float b,float c,float d) argument 402 ureg_imm3f(struct ureg_program * ureg,float a,float b,float c) argument 414 ureg_imm2f(struct ureg_program * ureg,float a,float b) argument 424 ureg_imm1f(struct ureg_program * ureg,float a) argument 433 ureg_imm4u(struct ureg_program * ureg,unsigned a,unsigned b,unsigned c,unsigned d) argument 446 ureg_imm3u(struct ureg_program * ureg,unsigned a,unsigned b,unsigned c) argument 458 ureg_imm2u(struct ureg_program * ureg,unsigned a,unsigned b) argument 468 ureg_imm1u(struct ureg_program * ureg,unsigned a) argument 475 ureg_imm4i(struct ureg_program * ureg,int a,int b,int c,int d) argument 488 ureg_imm3i(struct ureg_program * ureg,int a,int b,int c) argument 500 ureg_imm2i(struct ureg_program * ureg,int a,int b) argument 510 ureg_imm1i(struct ureg_program * ureg,int a) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_shaderlib_tgsi.c | 56 struct ureg_program *ureg = ureg_create(PIPE_SHADER_VERTEX); local in function:si_get_blitter_vs 57 if (!ureg) 61 ureg_property(ureg, TGSI_PROPERTY_VS_BLIT_SGPRS_AMD, vs_blit_property); 62 ureg_property(ureg, TGSI_PROPERTY_VS_WINDOW_SPACE_POSITION, true); 65 ureg_MOV(ureg, ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0), ureg_DECL_vs_input(ureg, 0)); 68 ureg_MOV(ureg, ureg_DECL_output(ureg, TGSI_SEMANTIC_GENERIC, 0), ureg_DECL_vs_input(ureg, 93 struct ureg_program *ureg = ureg_create(PIPE_SHADER_TESS_CTRL); local in function:si_create_fixed_func_tcs 133 struct ureg_program *ureg = ureg_create(PIPE_SHADER_COMPUTE); local in function:si_create_dma_compute_shader 704 struct ureg_program *ureg = ureg_create(PIPE_SHADER_COMPUTE); local in function:si_create_fmask_expand_cs [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/ |
| H A D | nine_ff.c | 171 static void nine_ureg_tgsi_dump(struct ureg_program *ureg, boolean override) argument 174 const struct tgsi_token *toks = ureg_get_tokens(ureg, NULL); 194 ureg_src_indirect(ureg_DECL_constant(ureg, i), _X(AL)) 197 ureg_DECL_constant(ureg, 19 + (i)) 199 #define _CONST(n) ureg_DECL_constant(ureg, n) 277 struct ureg_program *ureg; member in struct:vs_build_ctx 314 return ureg_DECL_vs_input(vs->ureg, i); 319 ureg_normalize3(struct ureg_program *ureg, argument 322 struct ureg_dst tmp = ureg_DECL_temporary(ureg); 325 ureg_DP3(ureg, tmp_ 335 struct ureg_program *ureg = ureg_create(PIPE_SHADER_VERTEX); local in function:nine_ff_build_vs 1084 struct ureg_program *ureg; member in struct:ps_build_ctx 1201 struct ureg_program *ureg = ps->ureg; local in function:ps_do_ts_op 1320 struct ureg_program *ureg = ureg_create(PIPE_SHADER_FRAGMENT); local in function:nine_ff_build_ps [all...] |
| H A D | nine_shader.c | 439 struct ureg_program *ureg; member in struct:shader_translator 713 tx->lconstf[n].reg = ureg_imm4f(tx->ureg, f[0], f[1], f[2], f[3]); 739 ureg_imm4i(tx->ureg, i[0], i[1], i[2], i[3]) : 740 ureg_imm4f(tx->ureg, i[0], i[1], i[2], i[3]); 764 ureg_imm1u(tx->ureg, b ? 0xffffffff : 0) : 765 ureg_imm1f(tx->ureg, b ? 1.0f : 0.0f); 776 tx->regs.t[tx->num_scratch] = ureg_DECL_local_temporary(tx->ureg); 811 tx->regs.r[idx] = ureg_DECL_temporary(tx->ureg); 819 tx->regs.address = ureg_DECL_address(tx->ureg); 821 tx->regs.a0 = ureg_DECL_temporary(tx->ureg); 975 struct ureg_program *ureg = tx->ureg; local in function:nine_get_position_input 987 struct ureg_program *ureg = tx->ureg; local in function:tx_src_param 1456 struct ureg_program *ureg = tx->ureg; local in function:NineTranslateInstruction_Mkxn 1635 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1646 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1656 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1752 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1767 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1811 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1850 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1879 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1920 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2215 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2379 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2394 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2406 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2421 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2438 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2470 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2483 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2513 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2592 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2609 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2631 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2660 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2703 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2720 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2744 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2776 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2792 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2850 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2877 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2918 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2948 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2962 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 3682 struct ureg_program *ureg = tx->ureg; local in function:shader_add_vs_viewport_transform 3700 struct ureg_program *ureg = tx->ureg; local in function:shader_add_ps_fog_stage [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| H A D | nine_ff.c | 171 static void nine_ureg_tgsi_dump(struct ureg_program *ureg, boolean override) argument 174 const struct tgsi_token *toks = ureg_get_tokens(ureg, NULL); 194 ureg_src_indirect(ureg_DECL_constant(ureg, i), _X(AL)) 197 ureg_DECL_constant(ureg, 19 + (i)) 199 #define _CONST(n) ureg_DECL_constant(ureg, n) 277 struct ureg_program *ureg; member in struct:vs_build_ctx 314 return ureg_DECL_vs_input(vs->ureg, i); 319 ureg_normalize3(struct ureg_program *ureg, argument 322 struct ureg_dst tmp = ureg_DECL_temporary(ureg); 325 ureg_DP3(ureg, tmp_ 335 struct ureg_program *ureg = ureg_create(PIPE_SHADER_VERTEX); local in function:nine_ff_build_vs 1086 struct ureg_program *ureg; member in struct:ps_build_ctx 1203 struct ureg_program *ureg = ps->ureg; local in function:ps_do_ts_op 1322 struct ureg_program *ureg = ureg_create(PIPE_SHADER_FRAGMENT); local in function:nine_ff_build_ps [all...] |
| H A D | nine_shader.c | 440 struct ureg_program *ureg; member in struct:shader_translator 714 tx->lconstf[n].reg = ureg_imm4f(tx->ureg, f[0], f[1], f[2], f[3]); 740 ureg_imm4i(tx->ureg, i[0], i[1], i[2], i[3]) : 741 ureg_imm4f(tx->ureg, i[0], i[1], i[2], i[3]); 765 ureg_imm1u(tx->ureg, b ? 0xffffffff : 0) : 766 ureg_imm1f(tx->ureg, b ? 1.0f : 0.0f); 777 tx->regs.t[tx->num_scratch] = ureg_DECL_local_temporary(tx->ureg); 812 tx->regs.r[idx] = ureg_DECL_temporary(tx->ureg); 820 tx->regs.address = ureg_DECL_address(tx->ureg); 822 tx->regs.a0 = ureg_DECL_temporary(tx->ureg); 996 struct ureg_program *ureg = tx->ureg; local in function:nine_get_position_input 1008 struct ureg_program *ureg = tx->ureg; local in function:tx_src_param 1477 struct ureg_program *ureg = tx->ureg; local in function:NineTranslateInstruction_Mkxn 1656 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1667 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1677 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1773 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1788 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1838 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1877 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1906 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 1947 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2242 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2405 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2420 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2432 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2447 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2464 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2496 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2509 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2539 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2618 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2635 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2657 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2686 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2729 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2746 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2770 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2802 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2818 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2876 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2903 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2944 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2977 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 2991 struct ureg_program *ureg = tx->ureg; local in function:DECL_SPECIAL 3718 struct ureg_program *ureg = tx->ureg; local in function:shader_add_vs_viewport_transform 3736 struct ureg_program *ureg = tx->ureg; local in function:shader_add_ps_fog_stage 3881 nine_ureg_create_shader(struct ureg_program * ureg,struct pipe_context * pipe,const struct pipe_stream_output_info * so) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_program.c | 145 struct ureg_program *ureg; local in function:fd_prog_blit_vs 147 ureg = ureg_create(PIPE_SHADER_VERTEX); 148 if (!ureg) 151 struct ureg_src in0 = ureg_DECL_vs_input(ureg, 0); 152 struct ureg_src in1 = ureg_DECL_vs_input(ureg, 1); 154 struct ureg_dst out0 = ureg_DECL_output(ureg, texcoord_semantic(pctx), 0); 155 struct ureg_dst out1 = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 1); 157 ureg_MOV(ureg, out0, in0); 158 ureg_MOV(ureg, out1, in1); 160 ureg_END(ureg); 170 struct ureg_program *ureg; local in function:fd_prog_blit_fs [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/d3d10umd/ |
| H A D | ShaderTGSI.c | 203 struct ureg_program *ureg; member in struct:Shader_xlate 423 struct ureg_program *ureg, 450 struct ureg_program *ureg, 460 struct ureg_dst temp = ureg_DECL_temporary(sx->ureg); 462 ureg_MOV(ureg, 466 ureg_MOV(ureg, ureg_writemask(temp, writemask), 473 ureg_MOV(ureg, ureg_writemask(temp, writemask), 488 struct ureg_program *ureg, 495 reg = ureg_DECL_vs_input(ureg, dst->base.index[0].imm); 497 dcl_base_input(sx, ureg, ds 422 dcl_base_output(struct Shader_xlate * sx,struct ureg_program * ureg,struct ureg_dst reg,const struct Shader_dst_operand * operand) argument 449 dcl_base_input(struct Shader_xlate * sx,struct ureg_program * ureg,const struct Shader_dst_operand * operand,struct ureg_src dcl_reg,uint index,uint siv_name) argument 487 dcl_vs_input(struct Shader_xlate * sx,struct ureg_program * ureg,const struct Shader_dst_operand * dst) argument 502 dcl_gs_input(struct Shader_xlate * sx,struct ureg_program * ureg,const struct Shader_dst_operand * dst) argument 531 dcl_sgv_input(struct Shader_xlate * sx,struct ureg_program * ureg,const struct Shader_dst_operand * dst,uint dcl_siv_name) argument 547 dcl_siv_input(struct Shader_xlate * sx,struct ureg_program * ureg,const struct Shader_dst_operand * dst,uint dcl_siv_name) argument 567 dcl_ps_input(struct Shader_xlate * sx,struct ureg_program * ureg,const struct Shader_dst_operand * dst,uint dcl_in_ps_interp) argument 586 dcl_ps_sgv_input(struct Shader_xlate * sx,struct ureg_program * ureg,const struct Shader_dst_operand * dst,uint dcl_siv_name) argument 627 dcl_ps_siv_input(struct Shader_xlate * sx,struct ureg_program * ureg,const struct Shader_dst_operand * dst,uint dcl_siv_name,uint dcl_in_ps_interp) argument 1165 sample_ureg_emit(struct ureg_program * ureg,unsigned tgsi_opcode,unsigned num_src,struct Shader_opcode * opcode,struct ureg_dst dst,struct ureg_src * src) argument 1206 expand_unary_to_scalarf(struct ureg_program * ureg,unary_ureg_func func,struct Shader_xlate * sx,struct Shader_opcode * opcode) argument 1246 struct ureg_program *ureg = NULL; local in function:Shader_tgsi_translate [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | ffvertex_prog.c | 289 struct ureg { struct 309 struct ureg eye_position; 310 struct ureg eye_position_z; 311 struct ureg eye_position_normalized; 312 struct ureg transformed_normal; 313 struct ureg identity; 320 static const struct ureg undef = { 336 /* Construct a ureg: 338 static struct ureg make_ureg(GLuint file, GLint idx) 340 struct ureg re [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | ffvertex_prog.c | 289 struct ureg { struct 308 struct ureg eye_position; 309 struct ureg eye_position_z; 310 struct ureg eye_position_normalized; 311 struct ureg transformed_normal; 312 struct ureg identity; 319 static const struct ureg undef = { 335 /* Construct a ureg: 337 static struct ureg make_ureg(GLuint file, GLint idx) 339 struct ureg re [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_program.c | 98 struct ureg_program *ureg; local in function:fd_prog_blit 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, rt [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_mesa_to_tgsi.c | 58 struct ureg_program *ureg; member in struct:st_translate 87 t->temps[index] = ureg_DECL_temporary(t->ureg); 129 t->temps[index] = ureg_DECL_temporary(t->ureg); 138 return ureg_DECL_constant(t->ureg, 0); 334 struct ureg_program *ureg = t->ureg; local in function:emit_swz 368 ureg_MOV(ureg, dst, translate_src(t, SrcReg)); 376 imm = ureg_imm3f(ureg, 0, 1, -1); 412 ureg_MAD(ureg, 419 ureg_MUL(ureg, 515 struct ureg_program *ureg = t->ureg; local in function:compile_instruction 619 struct ureg_program *ureg = t->ureg; local in function:emit_wpos_adjustment 700 emit_wpos(struct st_context * st,struct st_translate * t,const struct gl_program * program,struct ureg_program * ureg) argument 829 st_translate_mesa_program(struct gl_context * ctx,uint procType,struct ureg_program * ureg,const struct gl_program * program,GLuint numInputs,const ubyte inputMapping[],const ubyte inputSemanticName[],const ubyte inputSemanticIndex[],const ubyte interpMode[],GLuint numOutputs,const ubyte outputMapping[],const ubyte outputSemanticName[],const ubyte outputSemanticIndex[]) argument [all...] |
| H A D | st_pbo.c | 309 struct ureg_program *ureg; local in function:st_pbo_create_vs 315 ureg = ureg_create(PIPE_SHADER_VERTEX); 316 if (!ureg) 319 in_pos = ureg_DECL_vs_input(ureg, TGSI_SEMANTIC_POSITION); 321 out_pos = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0); 324 in_instanceid = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_INSTANCEID, 0); 327 out_layer = ureg_DECL_output(ureg, TGSI_SEMANTIC_LAYER, 0); 331 ureg_MOV(ureg, out_pos, in_pos); 336 ureg_I2F(ureg, ureg_writemask(out_pos, TGSI_WRITEMASK_Z), 340 ureg_MOV(ureg, ureg_writemas 354 struct ureg_program *ureg; local in function:st_pbo_create_gs 395 build_conversion(struct ureg_program * ureg,const struct ureg_dst * temp,enum st_pbo_conversion conversion) argument 583 struct ureg_program *ureg; local in function:create_fs_tgsi [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| H A D | svga_state_vs.c | 51 struct ureg_program *ureg; local in function:get_dummy_vertex_shader 56 ureg = ureg_create(PIPE_SHADER_VERTEX); 57 if (!ureg) 60 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0); 61 src = ureg_DECL_immediate(ureg, zero, 4); 62 ureg_MOV(ureg, dst, src); 63 ureg_END(ureg); 65 tokens = ureg_get_tokens(ureg, NULL); 67 ureg_destroy(ureg); 267 struct ureg_program *ureg; local in function:compile_passthrough_vs [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| H A D | svga_state_vs.c | 51 struct ureg_program *ureg; local in function:get_dummy_vertex_shader 56 ureg = ureg_create(PIPE_SHADER_VERTEX); 57 if (!ureg) 60 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0); 61 src = ureg_DECL_immediate(ureg, zero, 4); 62 ureg_MOV(ureg, dst, src); 63 ureg_END(ureg); 65 tokens = ureg_get_tokens(ureg, NULL); 67 ureg_destroy(ureg); 278 struct ureg_program *ureg; local in function:compile_passthrough_vs [all...] |