mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 02:04:41 +08:00
anv: indent driconf code
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Reviewed-by: Lina Versace <lina@kiwitree.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32285>
This commit is contained in:
parent
d483f7d984
commit
14d8da4c3c
@ -136,29 +136,29 @@ anv_init_dri_options(struct anv_instance *instance)
|
||||
instance->vk.app_info.engine_version);
|
||||
|
||||
instance->assume_full_subgroups =
|
||||
driQueryOptioni(&instance->dri_options, "anv_assume_full_subgroups");
|
||||
instance->assume_full_subgroups_with_barrier =
|
||||
driQueryOptionb(&instance->dri_options, "anv_assume_full_subgroups_with_barrier");
|
||||
driQueryOptioni(&instance->dri_options, "anv_assume_full_subgroups");
|
||||
instance->assume_full_subgroups_with_barrier =
|
||||
driQueryOptionb(&instance->dri_options, "anv_assume_full_subgroups_with_barrier");
|
||||
instance->limit_trig_input_range =
|
||||
driQueryOptionb(&instance->dri_options, "limit_trig_input_range");
|
||||
driQueryOptionb(&instance->dri_options, "limit_trig_input_range");
|
||||
instance->sample_mask_out_opengl_behaviour =
|
||||
driQueryOptionb(&instance->dri_options, "anv_sample_mask_out_opengl_behaviour");
|
||||
driQueryOptionb(&instance->dri_options, "anv_sample_mask_out_opengl_behaviour");
|
||||
instance->force_filter_addr_rounding =
|
||||
driQueryOptionb(&instance->dri_options, "anv_force_filter_addr_rounding");
|
||||
driQueryOptionb(&instance->dri_options, "anv_force_filter_addr_rounding");
|
||||
instance->lower_depth_range_rate =
|
||||
driQueryOptionf(&instance->dri_options, "lower_depth_range_rate");
|
||||
driQueryOptionf(&instance->dri_options, "lower_depth_range_rate");
|
||||
instance->no_16bit =
|
||||
driQueryOptionb(&instance->dri_options, "no_16bit");
|
||||
driQueryOptionb(&instance->dri_options, "no_16bit");
|
||||
instance->intel_enable_wa_14018912822 =
|
||||
driQueryOptionb(&instance->dri_options, "intel_enable_wa_14018912822");
|
||||
driQueryOptionb(&instance->dri_options, "intel_enable_wa_14018912822");
|
||||
instance->mesh_conv_prim_attrs_to_vert_attrs =
|
||||
driQueryOptioni(&instance->dri_options, "anv_mesh_conv_prim_attrs_to_vert_attrs");
|
||||
driQueryOptioni(&instance->dri_options, "anv_mesh_conv_prim_attrs_to_vert_attrs");
|
||||
instance->fp64_workaround_enabled =
|
||||
driQueryOptionb(&instance->dri_options, "fp64_workaround_enabled");
|
||||
driQueryOptionb(&instance->dri_options, "fp64_workaround_enabled");
|
||||
instance->generated_indirect_threshold =
|
||||
driQueryOptioni(&instance->dri_options, "generated_indirect_threshold");
|
||||
driQueryOptioni(&instance->dri_options, "generated_indirect_threshold");
|
||||
instance->generated_indirect_ring_threshold =
|
||||
driQueryOptioni(&instance->dri_options, "generated_indirect_ring_threshold");
|
||||
driQueryOptioni(&instance->dri_options, "generated_indirect_ring_threshold");
|
||||
instance->query_clear_with_blorp_threshold =
|
||||
driQueryOptioni(&instance->dri_options, "query_clear_with_blorp_threshold");
|
||||
instance->query_copy_with_shader_threshold =
|
||||
@ -169,15 +169,15 @@ anv_init_dri_options(struct anv_instance *instance)
|
||||
driQueryOptionb(&instance->dri_options, "fake_sparse");
|
||||
instance->enable_tbimr = driQueryOptionb(&instance->dri_options, "intel_tbimr");
|
||||
instance->disable_fcv =
|
||||
driQueryOptionb(&instance->dri_options, "anv_disable_fcv");
|
||||
driQueryOptionb(&instance->dri_options, "anv_disable_fcv");
|
||||
instance->disable_xe2_ccs =
|
||||
driQueryOptionb(&instance->dri_options, "anv_disable_xe2_ccs");
|
||||
driQueryOptionb(&instance->dri_options, "anv_disable_xe2_ccs");
|
||||
instance->external_memory_implicit_sync =
|
||||
driQueryOptionb(&instance->dri_options, "anv_external_memory_implicit_sync");
|
||||
driQueryOptionb(&instance->dri_options, "anv_external_memory_implicit_sync");
|
||||
instance->compression_control_enabled =
|
||||
driQueryOptionb(&instance->dri_options, "compression_control_enabled");
|
||||
instance->anv_fake_nonlocal_memory =
|
||||
driQueryOptionb(&instance->dri_options, "anv_fake_nonlocal_memory");
|
||||
driQueryOptionb(&instance->dri_options, "anv_fake_nonlocal_memory");
|
||||
|
||||
instance->stack_ids = driQueryOptioni(&instance->dri_options, "intel_stack_id");
|
||||
switch (instance->stack_ids) {
|
||||
@ -192,7 +192,8 @@ anv_init_dri_options(struct anv_instance *instance)
|
||||
instance->stack_ids = 512;
|
||||
break;
|
||||
}
|
||||
instance->force_guc_low_latency = driQueryOptionb(&instance->dri_options, "force_guc_low_latency");
|
||||
instance->force_guc_low_latency =
|
||||
driQueryOptionb(&instance->dri_options, "force_guc_low_latency");
|
||||
}
|
||||
|
||||
VkResult anv_CreateInstance(
|
||||
|
Loading…
Reference in New Issue
Block a user