Home
last modified time | relevance | path

Searched refs:log_samples (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dcayman_msaa.c235 unsigned log_samples = util_logbase2(setup_samples); in cayman_emit_msaa_state() local
242 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()
Devergreen_state.c880 unsigned log_samples = util_logbase2(texture->nr_samples); in evergreen_fill_tex_resource_words() local
882 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() local
1196 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() local
1555 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 …]
Dr600_pipe.h144 unsigned log_samples; member
Dr600_state.c1642 if (rctx->b.family == CHIP_RV770 && a->log_samples == 3) { in r600_emit_db_misc_state()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute_blit.c691 unsigned log_samples = util_logbase2(tex->nr_samples); in si_compute_expand_fmask() local
719 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()
Dsi_state.c1366 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() local
2296 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() local
3465 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 …]
Dsi_pipe.h706 ubyte log_samples : 3; /* at most 4 = 16xAA */ member
/external/mesa3d/src/amd/common/
Dac_surface.c2342 unsigned log_samples = util_logbase2(MAX2(1, num_storage_samples)); in ac_surface_set_umd_metadata() local
2344 if (desc_last_level != log_samples) { in ac_surface_set_umd_metadata()
2348 desc_last_level, log_samples); in ac_surface_set_umd_metadata()
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c1879 unsigned radv_get_default_max_sample_dist(int log_samples) in radv_get_default_max_sample_dist() argument
1887 return max_dist[log_samples]; in radv_get_default_max_sample_dist()
Dradv_pipeline.c1192 unsigned log_samples = util_logbase2(ms->num_samples); in radv_pipeline_init_multisample_state() local
1198 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()
Dradv_private.h1552 unsigned radv_get_default_max_sample_dist(int log_samples);
Dradv_device.c6819 unsigned log_samples = util_logbase2(iview->image->info.samples); in radv_initialise_color_surface() local
6821 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()