Home
last modified time | relevance | path

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

/third_party/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.c885 unsigned log_samples = util_logbase2(texture->nr_samples); in evergreen_fill_tex_resource_words() local
887 tex_resource_words[4] |= S_030010_LOG2_NUM_FRAGMENTS(log_samples); in evergreen_fill_tex_resource_words()
890 tex_resource_words[5] |= S_030014_LAST_LEVEL(log_samples); in evergreen_fill_tex_resource_words()
1200 unsigned log_samples = util_logbase2(rtex->resource.b.b.nr_samples); in evergreen_set_color_surface_common() local
1201 color->attrib |= S_028C74_NUM_SAMPLES(log_samples) | in evergreen_set_color_surface_common()
1202 S_028C74_NUM_FRAGMENTS(log_samples); in evergreen_set_color_surface_common()
1449 uint32_t i, log_samples; in evergreen_set_framebuffer_state() local
1556 log_samples = util_logbase2(rctx->framebuffer.nr_samples); in evergreen_set_framebuffer_state()
1560 rctx->db_misc_state.log_samples != log_samples) { in evergreen_set_framebuffer_state()
1561 rctx->db_misc_state.log_samples = log_samples; in evergreen_set_framebuffer_state()
[all …]
Dr600_pipe.h144 unsigned log_samples; member
Dr600_state.c1645 if (rctx->b.family == CHIP_RV770 && a->log_samples == 3) { in r600_emit_db_misc_state()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute_blit.c879 unsigned log_samples = util_logbase2(tex->nr_samples); in si_compute_expand_fmask() local
908 void **shader = &sctx->cs_fmask_expand[log_samples - 1][is_array]; in si_compute_expand_fmask()
943 (uint32_t *)&fmask_expand_values[log_fragments][log_samples - 1], in si_compute_expand_fmask()
944 log_fragments >= 2 && log_samples == 4 ? 8 : 4, SI_OP_SYNC_AFTER, in si_compute_expand_fmask()
Dsi_state.c1552 unsigned log_sample_rate = sctx->framebuffer.log_samples; in si_emit_db_render_state()
1560 S_028004_SAMPLE_RATE(sctx->framebuffer.log_samples); in si_emit_db_render_state()
2601 unsigned log_samples = util_logbase2(tex->buffer.b.b.nr_samples); in si_initialize_color_surface() local
2607 … color_attrib |= S_028C74_NUM_SAMPLES(log_samples) | S_028C74_NUM_FRAGMENTS_GFX6(log_fragments); in si_initialize_color_surface()
3031 sctx->framebuffer.log_samples = util_logbase2(sctx->framebuffer.nr_samples); in si_set_framebuffer_state()
3598 … S_028040_NUM_SAMPLES(sctx->gfx_level == GFX11 ? sctx->framebuffer.log_samples : 0)); in si_emit_framebuffer_state()
3817 unsigned log_samples = util_logbase2(coverage_samples); in si_emit_msaa_config() local
3824 sc_aa_config = S_028BE0_MSAA_NUM_SAMPLES(log_samples) | in si_emit_msaa_config()
3825 S_028BE0_MAX_SAMPLE_DIST(max_dist[log_samples]) | in si_emit_msaa_config()
3826 S_028BE0_MSAA_EXPOSED_SAMPLES(log_samples) | in si_emit_msaa_config()
[all …]
Dsi_pipe.h768 ubyte log_samples : 3; /* at most 4 = 16xAA */ member
/third_party/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c1883 radv_get_default_max_sample_dist(int log_samples) in radv_get_default_max_sample_dist() argument
1891 return max_dist[log_samples]; in radv_get_default_max_sample_dist()
Dradv_pipeline.c1163 unsigned log_samples = util_logbase2(ms->num_samples); in radv_pipeline_init_multisample_state() local
1169 S_028804_MASK_EXPORT_NUM_SAMPLES(log_samples) | in radv_pipeline_init_multisample_state()
1170 S_028804_ALPHA_TO_MASK_NUM_SAMPLES(log_samples); in radv_pipeline_init_multisample_state()
1172 S_028BE0_MSAA_NUM_SAMPLES(log_samples) | in radv_pipeline_init_multisample_state()
1173 S_028BE0_MAX_SAMPLE_DIST(radv_get_default_max_sample_dist(log_samples)) | in radv_pipeline_init_multisample_state()
1174 S_028BE0_MSAA_EXPOSED_SAMPLES(log_samples) | /* CM_R_028BE0_PA_SC_AA_CONFIG */ in radv_pipeline_init_multisample_state()
Dradv_device.c6349 unsigned log_samples = util_logbase2(iview->image->info.samples); in radv_initialise_color_surface() local
6352 cb->cb_color_attrib |= S_028C74_NUM_FRAGMENTS_GFX11(log_samples); in radv_initialise_color_surface()
6355 S_028C74_NUM_SAMPLES(log_samples) | S_028C74_NUM_FRAGMENTS_GFX6(log_samples); in radv_initialise_color_surface()
Dradv_private.h1738 unsigned radv_get_default_max_sample_dist(int log_samples);
/third_party/mesa3d/src/amd/common/
Dac_surface.c2745 unsigned log_samples = util_logbase2(MAX2(1, num_storage_samples)); in ac_surface_set_umd_metadata() local
2747 if (desc_last_level != log_samples) { in ac_surface_set_umd_metadata()
2751 desc_last_level, log_samples); in ac_surface_set_umd_metadata()