Searched refs:log_samples (Results 1 – 10 of 10) sorted by relevance
229 unsigned log_samples = util_logbase2(setup_samples); in cayman_emit_msaa_config() local236 radeon_emit(cs, S_028BE0_MSAA_NUM_SAMPLES(log_samples) | in cayman_emit_msaa_config()237 S_028BE0_MAX_SAMPLE_DIST(max_dist[log_samples]) | in cayman_emit_msaa_config()238 S_028BE0_MSAA_EXPOSED_SAMPLES(log_samples)); /* CM_R_028BE0_PA_SC_AA_CONFIG */ in cayman_emit_msaa_config()242 S_028804_MAX_ANCHOR_SAMPLES(log_samples) | in cayman_emit_msaa_config()244 S_028804_MASK_EXPORT_NUM_SAMPLES(log_samples) | in cayman_emit_msaa_config()245 S_028804_ALPHA_TO_MASK_NUM_SAMPLES(log_samples) | in cayman_emit_msaa_config()255 S_028804_OVERRASTERIZATION_AMOUNT(log_samples)); in cayman_emit_msaa_config()
868 unsigned log_samples = util_logbase2(texture->nr_samples); in evergreen_fill_tex_resource_words() local870 tex_resource_words[4] |= S_030010_LOG2_NUM_FRAGMENTS(log_samples); in evergreen_fill_tex_resource_words()873 tex_resource_words[5] |= S_030014_LAST_LEVEL(log_samples); in evergreen_fill_tex_resource_words()1183 unsigned log_samples = util_logbase2(rtex->resource.b.b.nr_samples); in evergreen_set_color_surface_common() local1184 color->attrib |= S_028C74_NUM_SAMPLES(log_samples) | in evergreen_set_color_surface_common()1185 S_028C74_NUM_FRAGMENTS(log_samples); in evergreen_set_color_surface_common()1436 uint32_t i, log_samples; in evergreen_set_framebuffer_state() local1539 log_samples = util_logbase2(rctx->framebuffer.nr_samples); in evergreen_set_framebuffer_state()1543 rctx->db_misc_state.log_samples != log_samples) { in evergreen_set_framebuffer_state()1544 rctx->db_misc_state.log_samples = log_samples; in evergreen_set_framebuffer_state()[all …]
143 unsigned log_samples; member
1638 if (rctx->b.family == CHIP_RV770 && a->log_samples == 3) { in r600_emit_db_misc_state()
1408 S_028004_SAMPLE_RATE(sctx->framebuffer.log_samples) | in si_emit_db_render_state()1415 S_028004_SAMPLE_RATE(sctx->framebuffer.log_samples)); in si_emit_db_render_state()2436 unsigned log_samples = util_logbase2(rtex->resource.b.b.nr_samples); in si_initialize_color_surface() local2438 color_attrib |= S_028C74_NUM_SAMPLES(log_samples) | in si_initialize_color_surface()2439 S_028C74_NUM_FRAGMENTS(log_samples); in si_initialize_color_surface()2832 sctx->framebuffer.log_samples = util_logbase2(sctx->framebuffer.nr_samples); in si_set_framebuffer_state()3361 unsigned log_samples = util_logbase2(setup_samples); in si_emit_msaa_config() local3368 radeon_emit(cs, S_028BE0_MSAA_NUM_SAMPLES(log_samples) | in si_emit_msaa_config()3369 S_028BE0_MAX_SAMPLE_DIST(max_dist[log_samples]) | in si_emit_msaa_config()3370 S_028BE0_MSAA_EXPOSED_SAMPLES(log_samples)); /* CM_R_028BE0_PA_SC_AA_CONFIG */ in si_emit_msaa_config()[all …]
283 ubyte log_samples:3; /* at most 4 = 16xAA */ member
852 unsigned log_samples = util_logbase2(ms->num_samples); in radv_pipeline_init_multisample_state() local856 ms->db_eqaa |= S_028804_MAX_ANCHOR_SAMPLES(log_samples) | in radv_pipeline_init_multisample_state()858 S_028804_MASK_EXPORT_NUM_SAMPLES(log_samples) | in radv_pipeline_init_multisample_state()859 S_028804_ALPHA_TO_MASK_NUM_SAMPLES(log_samples); in radv_pipeline_init_multisample_state()860 ms->pa_sc_aa_config |= S_028BE0_MSAA_NUM_SAMPLES(log_samples) | in radv_pipeline_init_multisample_state()861 S_028BE0_MAX_SAMPLE_DIST(radv_cayman_get_maxdist(log_samples)) | in radv_pipeline_init_multisample_state()862 S_028BE0_MSAA_EXPOSED_SAMPLES(log_samples); /* CM_R_028BE0_PA_SC_AA_CONFIG */ in radv_pipeline_init_multisample_state()
1460 unsigned radv_cayman_get_maxdist(int log_samples) in radv_cayman_get_maxdist() argument1469 return max_dist[log_samples]; in radv_cayman_get_maxdist()
3167 unsigned log_samples = util_logbase2(iview->image->info.samples); in radv_initialise_color_surface() local3169 cb->cb_color_attrib |= S_028C74_NUM_SAMPLES(log_samples) | in radv_initialise_color_surface()3170 S_028C74_NUM_FRAGMENTS(log_samples); in radv_initialise_color_surface()
1065 unsigned radv_cayman_get_maxdist(int log_samples);