/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 117 {"unroll loops", 1, is_r500, rc_unroll_loops, NULL}, in r3xx_compile_fragment_program() 118 {"transform loops", 1, !is_r500, rc_transform_loops, NULL}, in r3xx_compile_fragment_program() 119 {"emulate branches", 1, !is_r500, rc_emulate_branches, NULL}, in r3xx_compile_fragment_program() 121 {"transform IF", 1, is_r500, rc_local_transform, rewrite_if}, in r3xx_compile_fragment_program() 122 {"native rewrite", 1, is_r500, rc_local_transform, native_rewrite_r500}, in r3xx_compile_fragment_program() 123 {"native rewrite", 1, !is_r500, rc_local_transform, native_rewrite_r300}, in r3xx_compile_fragment_program() 125 {"emulate loops", 1, !is_r500, rc_emulate_loops, NULL}, in r3xx_compile_fragment_program() 126 {"register rename", 1, !is_r500 || opt, rc_rename_regs, NULL}, in r3xx_compile_fragment_program() 128 {"inline literals", 1, is_r500 && opt, rc_inline_literals, NULL}, in r3xx_compile_fragment_program() [all …]
|
D | r3xx_vertprog.c | 394 assert(compiler->Base.is_r500 || in translate_vertex_program() 425 if ((!compiler->Base.is_r500 in translate_vertex_program() 450 if (compiler->Base.is_r500) { in translate_vertex_program() 864 int is_r500 = c->Base.is_r500; in r3xx_compile_vertex_program() local 898 {"emulate branches", 1, !is_r500, rc_emulate_branches, NULL}, in r3xx_compile_vertex_program() 900 {"native rewrite", 1, is_r500, rc_local_transform, alu_rewrite_r500}, in r3xx_compile_vertex_program() 901 {"native rewrite", 1, !is_r500, rc_local_transform, alu_rewrite_r300}, in r3xx_compile_vertex_program() 902 {"emulate modifiers", 1, !is_r500, rc_local_transform, emulate_modifiers}, in r3xx_compile_vertex_program() 909 {"lower control flow opcodes", 1, is_r500, rc_vert_fc, NULL}, in r3xx_compile_vertex_program()
|
D | radeon_compiler.h | 54 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 | 285 if (!variable->C->is_r500) { in variable_get_class() 696 if (!s->C->is_r500 && var->Inst->Type == RC_INSTRUCTION_NORMAL) { in do_advanced_regalloc()
|
D | radeon_vert_fc.c | 90 if ((!fc_state->C->is_r500 in lower_bgnloop()
|
D | radeon_program_tex.c | 263 is_rect && (!c->is_r500 || wrapmode != RC_WRAP_NONE)) { in radeonTransformTEX() 489 (!c->is_r500 && inst->U.I.DstReg.WriteMask != RC_MASK_XYZW))) { in radeonTransformTEX()
|
D | radeon_pair_schedule.c | 1119 || (!s->C->is_r500 && tex_count > 0 && max_score == -1)) { in emit_instruction() 1332 if (s.C->is_r500) { in rc_pair_schedule()
|
D | radeon_program_alu.c | 920 if (!c->is_r500) { in r300_transform_vertex_alu() 929 if (!c->is_r500) { in r300_transform_vertex_alu()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_screen.c | 86 boolean is_r500 = r300screen->caps.is_r500; in r300_get_param() local 124 return is_r500 ? 1 : 0; in r300_get_param() 172 return is_r500 ? 13 : 12; in r300_get_param() 185 boolean is_r500 = r300screen->caps.is_r500; in r300_get_shader_param() local 192 return is_r500 || is_r400 ? 512 : 96; in r300_get_shader_param() 194 return is_r500 || is_r400 ? 512 : 64; in r300_get_shader_param() 196 return is_r500 || is_r400 ? 512 : 32; in r300_get_shader_param() 198 return is_r500 ? 511 : 4; in r300_get_shader_param() 200 return is_r500 ? 64 : 0; /* Actually unlimited on r500. */ in r300_get_shader_param() 211 return is_r500 ? 256 : 32; in r300_get_shader_param() [all …]
|
D | r300_context.c | 145 boolean is_r500 = r300->screen->caps.is_r500; in r300_setup_atoms() local 166 R300_INIT_ATOM(hyperz_state, is_r500 || (is_rv350 && drm_2_6_0) ? 10 : 8); in r300_setup_atoms() 170 R300_INIT_ATOM(dsa_state, is_r500 ? (drm_2_6_0 ? 10 : 8) : 6); in r300_setup_atoms() 173 R300_INIT_ATOM(blend_color_state, is_r500 ? 3 : 2); in r300_setup_atoms() 177 R300_INIT_ATOM(invariant_state, 16 + (is_rv350 ? 4 : 0) + (is_r500 ? 4 : 0)); in r300_setup_atoms() 181 R300_INIT_ATOM(vap_invariant_state, is_r500 ? 11 : 9); in r300_setup_atoms() 206 if (is_r500) { in r300_setup_atoms() 301 if (r300->screen->caps.is_r500) { in r300_init_states() 324 if (r300->screen->caps.is_r500) { in r300_init_states() 342 if (r300->screen->caps.is_r500 || in r300_init_states() [all …]
|
D | r300_fs.c | 263 if (r300->screen->caps.is_r500) { in r300_emit_fs_code_to_buffer() 451 compiler.Base.is_r500 = r300->screen->caps.is_r500; in r300_translate_fragment_shader() 458 compiler.Base.is_r500 ? 128 : (compiler.Base.is_r400 ? 64 : 32); in r300_translate_fragment_shader() 459 compiler.Base.max_constants = compiler.Base.is_r500 ? 256 : 32; in r300_translate_fragment_shader() 461 (compiler.Base.is_r500 || compiler.Base.is_r400) ? 512 : 64; in r300_translate_fragment_shader() 463 (compiler.Base.is_r500 || compiler.Base.is_r400) ? 512 : 32; in r300_translate_fragment_shader() 495 if (!r300->screen->caps.is_r500 || in r300_translate_fragment_shader()
|
D | r300_chipset.c | 131 caps->is_r500 = caps->family >= CHIP_FAMILY_RV515; in r300_parse_chipset() 134 caps->dxtc_swizzle = caps->is_r400 || caps->is_r500; in r300_parse_chipset()
|
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_state.c | 280 if (r300screen->caps.is_r500) { in r300_create_blend_state() 508 if (r300->screen->caps.is_r500) { in r300_set_blend_color() 551 (r300->screen->caps.is_r500 ? in r300_set_clip_state() 637 if (caps->is_r500) { in r300_create_dsa_state() 656 if (caps->is_r500) { in r300_create_dsa_state() 869 if (r300->screen->caps.is_r500) { in r300_set_framebuffer_state() 1013 if (r300->screen->caps.is_r500) { in r300_mark_fs_code_dirty() 1095 !r300_context(pipe)->screen->caps.is_r500; in r300_create_rs_state() 1331 boolean is_r500 = r300->screen->caps.is_r500; in r300_create_sampler_state() local 1385 if (DBG_ON(r300, DBG_ANISOHQ) && is_r500) { in r300_create_sampler_state() [all …]
|
D | r300_state_derived.c | 328 if (r300->screen->caps.is_r500) { in r300_update_rs_block() 428 if (r300->screen->caps.is_r500 && fs_inputs->face != ATTR_UNUSED && in r300_update_rs_block() 604 boolean is_r500) in r300_get_border_color() argument 619 if (is_r500) { in r300_get_border_color() 756 if (!count && !r300->screen->caps.is_r500) in r300_merge_textures_and_samplers() 780 r300->screen->caps.is_r500); in r300_merge_textures_and_samplers() 818 if (!r300->screen->caps.is_r500 && in r300_merge_textures_and_samplers() 926 if (i == 0 && !r300->screen->caps.is_r500) { in r300_merge_textures_and_samplers()
|
D | r300_vs.c | 219 compiler.Base.is_r500 = r300->screen->caps.is_r500; in r300_translate_vertex_shader() 226 compiler.Base.max_alu_insts = r300->screen->caps.is_r500 ? 1024 : 256; in r300_translate_vertex_shader()
|
D | r300_emit.c | 341 if (r300->screen->caps.is_r500) { in r300_emit_gpu_flush() 388 if (r300->screen->caps.is_r500) { in r300_emit_fb_state() 744 if (r300->screen->caps.is_r500) { in r300_emit_rs_block_state() 755 if (r300->screen->caps.is_r500) { in r300_emit_rs_block_state() 772 if (r300->screen->caps.is_r500) { in r300_emit_scissor_state() 1003 unsigned vtx_mem_size = r300screen->caps.is_r500 ? 128 : 72; in r300_emit_vs_state() 1033 (r300screen->caps.is_r500 ? R500_TCL_STATE_OPTIMIZATION : 0)); in r300_emit_vs_state() 1038 if (r300screen->caps.is_r500) { in r300_emit_vs_state() 1070 (r300->screen->caps.is_r500 ? in r300_emit_vs_constants() 1086 (r300->screen->caps.is_r500 ? in r300_emit_vs_constants() [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() 538 if (info->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements_immediate() 562 if (info->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements_immediate() 582 if (info->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements_immediate() 602 boolean alt_num_verts = r300->screen->caps.is_r500 && in r300_draw_elements() 608 if (info->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements() 688 boolean alt_num_verts = r300->screen->caps.is_r500 && in r300_draw_arrays() 1320 if (!r300->screen->caps.is_r500) in r300_init_render_functions()
|
D | r300_chipset.h | 82 boolean is_r500; member
|
D | r300_texture.c | 107 boolean is_r500, in r300_translate_texformat() argument 133 if (is_r500) in r300_translate_texformat() 810 boolean is_r500 = screen->caps.is_r500; in r300_texture_setup_format_state() local 850 if (is_r500) in r300_texture_setup_format_state()
|
D | r300_texture.h | 44 boolean is_r500,
|
D | r300_flush.c | 43 if (r300->screen->caps.is_r500) in r300_flush_and_cleanup()
|