/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 | 124 boolean is_r500 = r300screen->caps.is_r500; in r300_get_param() local 166 return !is_r500; in r300_get_param() 174 return is_r500 ? 1 : 0; in r300_get_param() 199 return is_r500 ? 4096 : 2048; in r300_get_param() 203 return is_r500 ? 13 : 12; in r300_get_param() 249 boolean is_r500 = r300screen->caps.is_r500; in r300_get_shader_param() local 256 return is_r500 || is_r400 ? 512 : 96; in r300_get_shader_param() 258 return is_r500 || is_r400 ? 512 : 64; in r300_get_shader_param() 260 return is_r500 || is_r400 ? 512 : 32; in r300_get_shader_param() 262 return is_r500 ? 511 : 4; in r300_get_shader_param() [all …]
|
D | r300_context.c | 159 boolean is_r500 = r300->screen->caps.is_r500; in r300_setup_atoms() local 179 R300_INIT_ATOM(hyperz_state, is_r500 || is_rv350 ? 10 : 8); in r300_setup_atoms() 183 R300_INIT_ATOM(dsa_state, is_r500 ? 10 : 6); in r300_setup_atoms() 186 R300_INIT_ATOM(blend_color_state, is_r500 ? 3 : 2); in r300_setup_atoms() 191 R300_INIT_ATOM(invariant_state, 14 + (is_rv350 ? 4 : 0) + (is_r500 ? 4 : 0)); in r300_setup_atoms() 195 R300_INIT_ATOM(vap_invariant_state, is_r500 || !has_tcl ? 11 : 9); in r300_setup_atoms() 220 if (is_r500) { in r300_setup_atoms() 317 if (r300->screen->caps.is_r500) { in r300_init_states() 347 if (r300->screen->caps.is_r500) { in r300_init_states() 365 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 | 408 srcRGB, srcA, r300screen->caps.is_r500); in r300_create_blend_state() 412 srcRGBX, srcA, r300screen->caps.is_r500); in r300_create_blend_state() 616 if (r300->screen->caps.is_r500) { in r300_set_blend_color() 660 (r300->screen->caps.is_r500 ? in r300_set_clip_state() 680 boolean is_r500 = r300_screen(pipe->screen)->caps.is_r500; in r300_create_dsa_state() local 739 if (is_r500) { in r300_create_dsa_state() 891 if (r300->screen->caps.is_r500 && r300->screen->info.drm_minor >= 29) { in r300_mark_fb_state_dirty() 910 if (r300->screen->caps.is_r500) { in r300_set_framebuffer_state() 1057 if (r300->screen->caps.is_r500) { in r300_mark_fs_code_dirty() 1137 boolean vclamp = !r300_context(pipe)->screen->caps.is_r500; in r300_create_rs_state() [all …]
|
D | r300_emit.c | 86 boolean is_r500 = r300->screen->caps.is_r500; in r300_emit_dsa_state() local 92 if (is_r500 && (alpha_func & R300_FG_ALPHA_FUNC_ENABLE)) { in r300_emit_dsa_state() 361 if (r300->screen->caps.is_r500) { in r300_emit_gpu_flush() 410 if (r300->screen->caps.is_r500) { in r300_emit_fb_state() 438 if (r300->screen->caps.is_r500 && r300->screen->info.drm_minor >= 29) { in r300_emit_fb_state() 837 if (r300->screen->caps.is_r500) { in r300_emit_rs_block_state() 848 if (r300->screen->caps.is_r500) { in r300_emit_rs_block_state() 877 if (r300->screen->caps.is_r500) { in r300_emit_scissor_state() 1111 unsigned vtx_mem_size = r300screen->caps.is_r500 ? 128 : 72; in r300_emit_vs_state() 1142 (r300screen->caps.is_r500 ? R500_TCL_STATE_OPTIMIZATION : 0)); in r300_emit_vs_state() [all …]
|
D | r300_hyperz.c | 120 if (dsa->dsa.depth.func == PIPE_FUNC_EQUAL && !r300screen->caps.is_r500) in r300_hiz_allowed() 159 if (r300->screen->caps.is_r500) { in r300_update_hyperz() 211 if (r300->screen->caps.is_r500) { in r300_update_hyperz()
|
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_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() 593 boolean alt_num_verts = r300->screen->caps.is_r500 && in r300_draw_elements() 599 if (info->index_bias && !r300->screen->caps.is_r500) { in r300_draw_elements() 678 boolean alt_num_verts = r300->screen->caps.is_r500 && in r300_draw_arrays() 1223 if (!r300->screen->caps.is_r500) in r300_init_render_functions()
|
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.h | 45 boolean is_r500,
|
D | r300_texture.c | 169 boolean is_r500, in r300_translate_texformat() argument 196 if (is_r500) in r300_translate_texformat() 916 boolean is_r500 = screen->caps.is_r500; in r300_texture_setup_format_state() local 956 if (is_r500) in r300_texture_setup_format_state()
|
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,
|