Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/
Dcayman_msaa.c229 unsigned log_samples = util_logbase2(setup_samples); in cayman_emit_msaa_config() local
236 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()
Devergreen_state.c868 unsigned log_samples = util_logbase2(texture->nr_samples); in evergreen_fill_tex_resource_words() local
870 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() local
1184 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() local
1539 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 …]
Dr600_pipe.h143 unsigned log_samples; member
Dr600_state.c1638 if (rctx->b.family == CHIP_RV770 && a->log_samples == 3) { in r600_emit_db_misc_state()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c1408 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() local
2438 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() local
3368 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 …]
Dsi_pipe.h283 ubyte log_samples:3; /* at most 4 = 16xAA */ member
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c852 unsigned log_samples = util_logbase2(ms->num_samples); in radv_pipeline_init_multisample_state() local
856 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()
Dsi_cmd_buffer.c1460 unsigned radv_cayman_get_maxdist(int log_samples) in radv_cayman_get_maxdist() argument
1469 return max_dist[log_samples]; in radv_cayman_get_maxdist()
Dradv_device.c3167 unsigned log_samples = util_logbase2(iview->image->info.samples); in radv_initialise_color_surface() local
3169 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()
Dradv_private.h1065 unsigned radv_cayman_get_maxdist(int log_samples);