Lines Matching refs:prolog
777 add_part(shader->prolog); in si_shader_binary_open()
1118 if (shader->prolog) in si_shader_dump()
1119 si_shader_dump_disassembly(sscreen, &shader->prolog->binary, stage, wave_size, debug, in si_shader_dump()
1141 const struct si_vs_prolog_bits *prolog, const char *prefix, in si_dump_shader_key_vs() argument
1144 fprintf(f, " %s.instance_divisor_is_one = %u\n", prefix, prolog->instance_divisor_is_one); in si_dump_shader_key_vs()
1146 prolog->instance_divisor_is_fetched); in si_dump_shader_key_vs()
1147 fprintf(f, " %s.ls_vgpr_fix = %u\n", prefix, prolog->ls_vgpr_fix); in si_dump_shader_key_vs()
1173 si_dump_shader_key_vs(key, &key->part.vs.prolog, "part.vs.prolog", f); in si_dump_shader_key()
1206 key->part.gs.prolog.tri_strip_adj_fix); in si_dump_shader_key()
1214 fprintf(f, " part.ps.prolog.color_two_side = %u\n", key->part.ps.prolog.color_two_side); in si_dump_shader_key()
1215 fprintf(f, " part.ps.prolog.flatshade_colors = %u\n", key->part.ps.prolog.flatshade_colors); in si_dump_shader_key()
1216 fprintf(f, " part.ps.prolog.poly_stipple = %u\n", key->part.ps.prolog.poly_stipple); in si_dump_shader_key()
1218 key->part.ps.prolog.force_persp_sample_interp); in si_dump_shader_key()
1220 key->part.ps.prolog.force_linear_sample_interp); in si_dump_shader_key()
1222 key->part.ps.prolog.force_persp_center_interp); in si_dump_shader_key()
1224 key->part.ps.prolog.force_linear_center_interp); in si_dump_shader_key()
1226 key->part.ps.prolog.bc_optimize_for_persp); in si_dump_shader_key()
1228 key->part.ps.prolog.bc_optimize_for_linear); in si_dump_shader_key()
1230 key->part.ps.prolog.samplemask_log_ps_iter); in si_dump_shader_key()
1537 gl_shader_stage stage, bool prolog, union si_shader_part_key *key, in si_get_shader_part() argument
1571 assert(!prolog); in si_get_shader_part()
1575 assert(prolog); in si_get_shader_part()
1579 if (prolog) in si_get_shader_part()
1580 shader.key.part.ps.prolog = key->ps_prolog.states; in si_get_shader_part()
1630 shader->prolog = in si_get_vs_prolog()
1633 return shader->prolog != NULL; in si_get_vs_prolog()
1642 return si_get_vs_prolog(sscreen, compiler, shader, debug, shader, &shader->key.part.vs.prolog); in si_shader_select_vs_parts()
1694 if (!shader->key.part.gs.prolog.tri_strip_adj_fix) in si_shader_select_gs_parts()
1699 prolog_key.gs_prolog.states = shader->key.part.gs.prolog; in si_shader_select_gs_parts()
1718 key->ps_prolog.states = shader->key.part.ps.prolog; in si_get_ps_prolog_key()
1734 if (shader->key.part.ps.prolog.color_two_side) { in si_get_ps_prolog_key()
1751 if (shader->key.part.ps.prolog.flatshade_colors && interp == INTERP_MODE_COLOR) in si_get_ps_prolog_key()
1761 if (shader->key.part.ps.prolog.force_persp_sample_interp) in si_get_ps_prolog_key()
1763 if (shader->key.part.ps.prolog.force_persp_center_interp) in si_get_ps_prolog_key()
1791 if (shader->key.part.ps.prolog.force_linear_sample_interp) in si_get_ps_prolog_key()
1793 if (shader->key.part.ps.prolog.force_linear_center_interp) in si_get_ps_prolog_key()
1874 shader->prolog = in si_shader_select_ps_parts()
1877 if (!shader->prolog) in si_shader_select_ps_parts()
1891 if (shader->key.part.ps.prolog.poly_stipple) { in si_shader_select_ps_parts()
1897 if (shader->key.part.ps.prolog.force_persp_sample_interp && in si_shader_select_ps_parts()
1904 if (shader->key.part.ps.prolog.force_linear_sample_interp && in si_shader_select_ps_parts()
1911 if (shader->key.part.ps.prolog.force_persp_center_interp && in si_shader_select_ps_parts()
1918 if (shader->key.part.ps.prolog.force_linear_center_interp && in si_shader_select_ps_parts()
1940 if (shader->key.part.ps.prolog.samplemask_log_ps_iter) { in si_shader_select_ps_parts()
2064 if (shader->prolog) { in si_create_shader_variant()
2066 MAX2(shader->config.num_sgprs, shader->prolog->config.num_sgprs); in si_create_shader_variant()
2068 MAX2(shader->config.num_vgprs, shader->prolog->config.num_vgprs); in si_create_shader_variant()
2127 shader->key.part.vs.prolog.instance_divisor_is_one || in si_create_shader_variant()
2128 shader->key.part.vs.prolog.instance_divisor_is_fetched; in si_create_shader_variant()