Searched refs:log_samples (Results 1 – 12 of 12) sorted by relevance
235 unsigned log_samples = util_logbase2(setup_samples); in cayman_emit_msaa_state() local242 radeon_emit(cs, S_028BE0_MSAA_NUM_SAMPLES(log_samples) | in cayman_emit_msaa_state()243 S_028BE0_MAX_SAMPLE_DIST(max_dist[log_samples]) | in cayman_emit_msaa_state()244 S_028BE0_MSAA_EXPOSED_SAMPLES(log_samples)); /* CM_R_028BE0_PA_SC_AA_CONFIG */ in cayman_emit_msaa_state()248 S_028804_MAX_ANCHOR_SAMPLES(log_samples) | in cayman_emit_msaa_state()250 S_028804_MASK_EXPORT_NUM_SAMPLES(log_samples) | in cayman_emit_msaa_state()251 S_028804_ALPHA_TO_MASK_NUM_SAMPLES(log_samples) | in cayman_emit_msaa_state()261 S_028804_OVERRASTERIZATION_AMOUNT(log_samples)); in cayman_emit_msaa_state()
880 unsigned log_samples = util_logbase2(texture->nr_samples); in evergreen_fill_tex_resource_words() local882 tex_resource_words[4] |= S_030010_LOG2_NUM_FRAGMENTS(log_samples); in evergreen_fill_tex_resource_words()885 tex_resource_words[5] |= S_030014_LAST_LEVEL(log_samples); in evergreen_fill_tex_resource_words()1195 unsigned log_samples = util_logbase2(rtex->resource.b.b.nr_samples); in evergreen_set_color_surface_common() local1196 color->attrib |= S_028C74_NUM_SAMPLES(log_samples) | in evergreen_set_color_surface_common()1197 S_028C74_NUM_FRAGMENTS(log_samples); in evergreen_set_color_surface_common()1448 uint32_t i, log_samples; in evergreen_set_framebuffer_state() local1555 log_samples = util_logbase2(rctx->framebuffer.nr_samples); in evergreen_set_framebuffer_state()1559 rctx->db_misc_state.log_samples != log_samples) { in evergreen_set_framebuffer_state()1560 rctx->db_misc_state.log_samples = log_samples; in evergreen_set_framebuffer_state()[all …]
144 unsigned log_samples; member
1642 if (rctx->b.family == CHIP_RV770 && a->log_samples == 3) { in r600_emit_db_misc_state()
691 unsigned log_samples = util_logbase2(tex->nr_samples); in si_compute_expand_fmask() local719 void **shader = &sctx->cs_fmask_expand[log_samples - 1][is_array]; in si_compute_expand_fmask()756 (uint32_t *)&fmask_expand_values[log_fragments][log_samples - 1], in si_compute_expand_fmask()757 log_fragments >= 2 && log_samples == 4 ? 8 : 4, in si_compute_expand_fmask()
1366 unsigned log_sample_rate = sctx->framebuffer.log_samples; in si_emit_db_render_state()1374 S_028004_SAMPLE_RATE(sctx->framebuffer.log_samples); in si_emit_db_render_state()2293 unsigned log_samples = util_logbase2(tex->buffer.b.b.nr_samples); in si_initialize_color_surface() local2296 color_attrib |= S_028C74_NUM_SAMPLES(log_samples) | S_028C74_NUM_FRAGMENTS(log_fragments); in si_initialize_color_surface()2719 sctx->framebuffer.log_samples = util_logbase2(sctx->framebuffer.nr_samples); in si_set_framebuffer_state()3459 unsigned log_samples = util_logbase2(coverage_samples); in si_emit_msaa_config() local3465 sc_aa_config = S_028BE0_MSAA_NUM_SAMPLES(log_samples) | in si_emit_msaa_config()3466 S_028BE0_MAX_SAMPLE_DIST(max_dist[log_samples]) | in si_emit_msaa_config()3467 S_028BE0_MSAA_EXPOSED_SAMPLES(log_samples) | in si_emit_msaa_config()3473 S_028804_MASK_EXPORT_NUM_SAMPLES(log_samples) | in si_emit_msaa_config()[all …]
706 ubyte log_samples : 3; /* at most 4 = 16xAA */ member
2342 unsigned log_samples = util_logbase2(MAX2(1, num_storage_samples)); in ac_surface_set_umd_metadata() local2344 if (desc_last_level != log_samples) { in ac_surface_set_umd_metadata()2348 desc_last_level, log_samples); in ac_surface_set_umd_metadata()
1879 unsigned radv_get_default_max_sample_dist(int log_samples) in radv_get_default_max_sample_dist() argument1887 return max_dist[log_samples]; in radv_get_default_max_sample_dist()
1192 unsigned log_samples = util_logbase2(ms->num_samples); in radv_pipeline_init_multisample_state() local1198 S_028804_MASK_EXPORT_NUM_SAMPLES(log_samples) | in radv_pipeline_init_multisample_state()1199 S_028804_ALPHA_TO_MASK_NUM_SAMPLES(log_samples); in radv_pipeline_init_multisample_state()1200 ms->pa_sc_aa_config |= S_028BE0_MSAA_NUM_SAMPLES(log_samples) | in radv_pipeline_init_multisample_state()1201 S_028BE0_MAX_SAMPLE_DIST(radv_get_default_max_sample_dist(log_samples)) | in radv_pipeline_init_multisample_state()1202 S_028BE0_MSAA_EXPOSED_SAMPLES(log_samples) | /* CM_R_028BE0_PA_SC_AA_CONFIG */ in radv_pipeline_init_multisample_state()
1552 unsigned radv_get_default_max_sample_dist(int log_samples);
6819 unsigned log_samples = util_logbase2(iview->image->info.samples); in radv_initialise_color_surface() local6821 cb->cb_color_attrib |= S_028C74_NUM_SAMPLES(log_samples) | in radv_initialise_color_surface()6822 S_028C74_NUM_FRAGMENTS(log_samples); in radv_initialise_color_surface()