/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | r3xx_fragprog.c | 83 int is_r500 = c->Base.is_r500; in r3xx_compile_fragment_program() local 123 {"unroll loops", 1, is_r500, rc_unroll_loops, NULL}, in r3xx_compile_fragment_program() 124 {"transform loops", 1, !is_r500, rc_transform_loops, NULL}, in r3xx_compile_fragment_program() 125 {"emulate branches", 1, !is_r500, rc_emulate_branches, NULL}, in r3xx_compile_fragment_program() 128 {"transform IF", 1, is_r500, rc_local_transform, rewrite_if}, in r3xx_compile_fragment_program() 129 {"native rewrite", 1, is_r500, rc_local_transform, native_rewrite_r500}, in r3xx_compile_fragment_program() 130 {"native rewrite", 1, !is_r500, rc_local_transform, native_rewrite_r300}, in r3xx_compile_fragment_program() 132 {"emulate loops", 1, !is_r500, rc_emulate_loops, NULL}, in r3xx_compile_fragment_program() 133 {"register rename", 1, !is_r500 || opt, rc_rename_regs, NULL}, in r3xx_compile_fragment_program() 135 {"inline literals", 1, is_r500 && opt, rc_inline_literals, NULL}, in r3xx_compile_fragment_program() [all …]
|
D | r3xx_vertprog.c | 390 if (vpi->SaturateMode != RC_SATURATE_NONE && !c->is_r500) { in translate_vertex_program() 401 assert(compiler->Base.is_r500 || in translate_vertex_program() 433 if ((!compiler->Base.is_r500 in translate_vertex_program() 458 if (compiler->Base.is_r500) { in translate_vertex_program() 872 int is_r500 = c->Base.is_r500; in r3xx_compile_vertex_program() local 906 {"emulate branches", 1, !is_r500, rc_emulate_branches, NULL}, in r3xx_compile_vertex_program() 908 {"native rewrite", 1, is_r500, rc_local_transform, alu_rewrite_r500}, in r3xx_compile_vertex_program() 909 {"native rewrite", 1, !is_r500, rc_local_transform, alu_rewrite_r300}, in r3xx_compile_vertex_program() 910 {"emulate modifiers", 1, !is_r500, rc_local_transform, emulate_modifiers}, in r3xx_compile_vertex_program() 917 {"lower control flow opcodes", 1, is_r500, rc_vert_fc, NULL}, in r3xx_compile_vertex_program()
|
D | radeon_compiler.h | 53 unsigned is_r500:1; member
|
D | r3xx_vertprog_dump.c | 200 if (c->Base.is_r500) { in r300_vertex_program_dump()
|
D | radeon_pair_regalloc.c | 336 if (!variable->C->is_r500) { in variable_get_class() 632 if (!s->C->is_r500 && var->Inst->Type == RC_INSTRUCTION_NORMAL) { in do_advanced_regalloc()
|
D | radeon_vert_fc.c | 114 if ((!fc_state->C->is_r500 in lower_bgnloop()
|
D | radeon_dataflow_swizzles.c | 438 if (!c->is_r500 && in rc_dataflow_swizzles()
|
D | radeon_program_tex.c | 263 is_rect && (!c->is_r500 || wrapmode != RC_WRAP_NONE)) { in radeonTransformTEX() 442 (!c->is_r500 && inst->U.I.DstReg.WriteMask != RC_MASK_XYZW))) { in radeonTransformTEX()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_screen.c | 92 boolean is_r500 = r300screen->caps.is_r500; in r300_get_param() local 135 return !is_r500; in r300_get_param() 141 return is_r500 ? 1 : 0; in r300_get_param() 253 return is_r500 ? 13 : 12; in r300_get_param() 293 boolean is_r500 = r300screen->caps.is_r500; in r300_get_shader_param() local 300 return is_r500 || is_r400 ? 512 : 96; in r300_get_shader_param() 302 return is_r500 || is_r400 ? 512 : 64; in r300_get_shader_param() 304 return is_r500 || is_r400 ? 512 : 32; in r300_get_shader_param() 306 return is_r500 ? 511 : 4; in r300_get_shader_param() 308 return is_r500 ? 64 : 0; /* Actually unlimited on r500. */ in r300_get_shader_param() [all …]
|
D | r300_context.c | 157 boolean is_r500 = r300->screen->caps.is_r500; in r300_setup_atoms() local 177 R300_INIT_ATOM(hyperz_state, is_r500 || is_rv350 ? 10 : 8); in r300_setup_atoms() 181 R300_INIT_ATOM(dsa_state, is_r500 ? 10 : 6); in r300_setup_atoms() 184 R300_INIT_ATOM(blend_color_state, is_r500 ? 3 : 2); in r300_setup_atoms() 189 R300_INIT_ATOM(invariant_state, 14 + (is_rv350 ? 4 : 0) + (is_r500 ? 4 : 0)); in r300_setup_atoms() 193 R300_INIT_ATOM(vap_invariant_state, is_r500 || !has_tcl ? 11 : 9); in r300_setup_atoms() 218 if (is_r500) { in r300_setup_atoms() 315 if (r300->screen->caps.is_r500) { in r300_init_states() 345 if (r300->screen->caps.is_r500) { in r300_init_states() 363 if (r300->screen->caps.is_r500 || r300->screen->caps.is_rv350) { in r300_init_states() [all …]
|
D | r300_fs.c | 250 if (r300->screen->caps.is_r500) { in r300_emit_fs_code_to_buffer() 438 compiler.Base.is_r500 = r300->screen->caps.is_r500; in r300_translate_fragment_shader() 445 compiler.Base.is_r500 ? 128 : (compiler.Base.is_r400 ? 64 : 32); in r300_translate_fragment_shader() 446 compiler.Base.max_constants = compiler.Base.is_r500 ? 256 : 32; in r300_translate_fragment_shader() 448 (compiler.Base.is_r500 || compiler.Base.is_r400) ? 512 : 64; in r300_translate_fragment_shader() 450 (compiler.Base.is_r500 || compiler.Base.is_r400) ? 512 : 32; in r300_translate_fragment_shader() 478 if (!r300->screen->caps.is_r500 || in r300_translate_fragment_shader()
|
D | r300_state.c | 415 srcRGB, srcA, r300screen->caps.is_r500); in r300_create_blend_state() 419 srcRGBX, srcA, r300screen->caps.is_r500); in r300_create_blend_state() 623 if (r300->screen->caps.is_r500) { in r300_set_blend_color() 667 (r300->screen->caps.is_r500 ? in r300_set_clip_state() 687 boolean is_r500 = r300_screen(pipe->screen)->caps.is_r500; in r300_create_dsa_state() local 746 if (is_r500) { in r300_create_dsa_state() 898 if (r300->screen->caps.is_r500 && r300->screen->info.drm_minor >= 29) { in r300_mark_fb_state_dirty() 917 if (r300->screen->caps.is_r500) { in r300_set_framebuffer_state() 1064 if (r300->screen->caps.is_r500) { in r300_mark_fs_code_dirty() 1144 boolean vclamp = !r300_context(pipe)->screen->caps.is_r500; in r300_create_rs_state() [all …]
|
D | r300_emit.c | 87 boolean is_r500 = r300->screen->caps.is_r500; in r300_emit_dsa_state() local 93 if (is_r500 && (alpha_func & R300_FG_ALPHA_FUNC_ENABLE)) { in r300_emit_dsa_state() 362 if (r300->screen->caps.is_r500) { in r300_emit_gpu_flush() 411 if (r300->screen->caps.is_r500) { in r300_emit_fb_state() 439 if (r300->screen->caps.is_r500 && r300->screen->info.drm_minor >= 29) { in r300_emit_fb_state() 835 if (r300->screen->caps.is_r500) { in r300_emit_rs_block_state() 846 if (r300->screen->caps.is_r500) { in r300_emit_rs_block_state() 875 if (r300->screen->caps.is_r500) { in r300_emit_scissor_state() 1109 unsigned vtx_mem_size = r300screen->caps.is_r500 ? 128 : 72; in r300_emit_vs_state() 1140 (r300screen->caps.is_r500 ? R500_TCL_STATE_OPTIMIZATION : 0)); in r300_emit_vs_state() [all …]
|
D | r300_render.c | 206 if (r300->screen->caps.is_r500) in r300_reserve_cs_dwords() 261 if (r300->screen->caps.is_r500) { in r300_emit_states() 528 if (info->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements_immediate() 552 if (info->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements_immediate() 572 if (info->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements_immediate() 592 boolean alt_num_verts = r300->screen->caps.is_r500 && in r300_draw_elements() 598 if (info->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements() 677 boolean alt_num_verts = r300->screen->caps.is_r500 && in r300_draw_arrays() 1203 if (!r300->screen->caps.is_r500) in r300_init_render_functions()
|
D | r300_state_derived.c | 321 if (r300->screen->caps.is_r500) { in r300_update_rs_block() 421 if (r300->screen->caps.is_r500 && fs_inputs->face != ATTR_UNUSED && in r300_update_rs_block() 437 if (r300->screen->caps.is_r500 && !any_bcolor_used && !r300->flatshade && in r300_update_rs_block() 649 boolean is_r500) in r300_get_border_color() argument 664 if (is_r500) { in r300_get_border_color() 801 if (!count && !r300->screen->caps.is_r500) in r300_merge_textures_and_samplers() 825 r300->screen->caps.is_r500); in r300_merge_textures_and_samplers() 863 if (!r300->screen->caps.is_r500 && in r300_merge_textures_and_samplers() 971 if (i == 0 && !r300->screen->caps.is_r500) { in r300_merge_textures_and_samplers()
|
D | r300_hyperz.c | 121 if (dsa->dsa.depth.func == PIPE_FUNC_EQUAL && !r300screen->caps.is_r500) in r300_hiz_allowed() 160 if (r300->screen->caps.is_r500) { in r300_update_hyperz() 212 if (r300->screen->caps.is_r500) { in r300_update_hyperz()
|
D | r300_vs.c | 220 compiler.Base.is_r500 = r300->screen->caps.is_r500; in r300_translate_vertex_shader() 227 compiler.Base.max_alu_insts = r300->screen->caps.is_r500 ? 1024 : 256; in r300_translate_vertex_shader()
|
D | r300_chipset.c | 171 caps->is_r500 = caps->family >= CHIP_RV515; in r300_parse_chipset() 174 caps->dxtc_swizzle = caps->is_r400 || caps->is_r500; in r300_parse_chipset()
|
D | r300_chipset.h | 84 boolean is_r500; member
|
D | r300_texture.c | 169 boolean is_r500, in r300_translate_texformat() argument 196 if (is_r500) in r300_translate_texformat() 918 boolean is_r500 = screen->caps.is_r500; in r300_texture_setup_format_state() local 958 if (is_r500) in r300_texture_setup_format_state()
|
D | r300_texture.h | 45 boolean is_r500,
|
D | r300_flush.c | 44 if (r300->screen->caps.is_r500) in r300_flush_and_cleanup()
|
D | r300_texture_desc.c | 435 (!screen->caps.is_r500 || screen->info.drm_minor < 29)) { in r300_setup_cmask_properties() 565 if (rscreen->caps.is_r500) { in r300_texture_desc_init()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 508 unsigned is_r500, in init_compiler() argument 515 c->is_r500 = is_r500; in init_compiler() 516 c->max_temp_regs = is_r500 ? 128 : (is_r400 ? 64 : 32); in init_compiler() 517 c->max_constants = is_r500 ? 256 : 32; in init_compiler() 518 c->max_alu_insts = (is_r500 || is_r400) ? 512 : 64; in init_compiler() 519 c->max_tex_insts = (is_r500 || is_r400) ? 512 : 32; in init_compiler() 525 is_r500 ? &r500_swizzle_caps : &r300_swizzle_caps; in init_compiler()
|
D | rc_test_helpers.h | 65 unsigned is_r500,
|