Home
last modified time | relevance | path

Searched refs:is_r500 (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dr3xx_fragprog.c83 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 …]
Dr3xx_vertprog.c394 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()
Dradeon_compiler.h54 unsigned is_r500:1; member
Dr3xx_vertprog_dump.c200 if (c->Base.is_r500) { in r300_vertex_program_dump()
Dradeon_pair_regalloc.c285 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()
Dradeon_vert_fc.c90 if ((!fc_state->C->is_r500 in lower_bgnloop()
Dradeon_program_tex.c263 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()
Dradeon_pair_schedule.c1119 || (!s->C->is_r500 && tex_count > 0 && max_score == -1)) { in emit_instruction()
1332 if (s.C->is_r500) { in rc_pair_schedule()
Dradeon_program_alu.c920 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/
Dr300_screen.c86 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 …]
Dr300_context.c145 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 …]
Dr300_fs.c263 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()
Dr300_chipset.c131 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()
Dr300_hyperz.c121 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()
Dr300_state.c280 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 …]
Dr300_state_derived.c328 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()
Dr300_vs.c219 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()
Dr300_emit.c341 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 …]
Dr300_render.c206 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()
Dr300_chipset.h82 boolean is_r500; member
Dr300_texture.c107 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()
Dr300_texture.h44 boolean is_r500,
Dr300_flush.c43 if (r300->screen->caps.is_r500) in r300_flush_and_cleanup()