Lines Matching defs:conf
41 struct ac_shader_config *conf)
55 conf->num_vgprs = MAX2(conf->num_vgprs, (G_00B028_VGPRS(value) + 1) * 8);
57 conf->num_vgprs = MAX2(conf->num_vgprs, (G_00B028_VGPRS(value) + 1) * 4);
59 conf->num_sgprs = MAX2(conf->num_sgprs, (G_00B028_SGPRS(value) + 1) * 8);
61 conf->float_mode = G_00B028_FLOAT_MODE(value);
62 conf->rsrc1 = value;
65 conf->lds_size = MAX2(conf->lds_size, G_00B02C_EXTRA_LDS_SIZE(value));
67 conf->num_shared_vgprs = G_00B02C_SHARED_VGPR_CNT(value);
68 conf->rsrc2 = value;
71 conf->num_shared_vgprs = G_00B12C_SHARED_VGPR_CNT(value);
72 conf->rsrc2 = value;
75 conf->num_shared_vgprs = G_00B22C_SHARED_VGPR_CNT(value);
76 conf->rsrc2 = value;
79 conf->num_shared_vgprs = G_00B42C_SHARED_VGPR_CNT(value);
80 conf->rsrc2 = value;
83 conf->lds_size = MAX2(conf->lds_size, G_00B84C_LDS_SIZE(value));
84 conf->rsrc2 = value;
87 conf->num_shared_vgprs = G_00B8A0_SHARED_VGPR_CNT(value);
88 conf->rsrc3 = value;
91 conf->spi_ps_input_ena = value;
94 conf->spi_ps_input_addr = value;
102 conf->spilled_sgprs = value;
105 conf->spilled_vgprs = value;
121 if (!conf->spi_ps_input_addr)
122 conf->spi_ps_input_addr = conf->spi_ps_input_ena;
126 conf->scratch_bytes_per_wave = G_00B860_WAVESIZE(scratch_size) * 256 * 4;
136 conf->num_vgprs = align(conf->num_vgprs, wave_size == 32 ? 16 : 8);
147 conf->float_mode &= ~V_00B028_FP_ALL_DENORMS;
148 conf->float_mode |= V_00B028_FP_64_DENORMS;