From: Marek Olšák Date: Sat, 26 Oct 2019 03:32:18 +0000 (-0400) Subject: radeonsi: enable NIR by default and document GL 4.6 support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75ce078a0aff7fa0f4d6467bea787327da3a4b69;p=mesa.git radeonsi: enable NIR by default and document GL 4.6 support Reviewed-by: Dave Airlie Reviewed-by: Pierre-Eric Pelloux-Prayer --- diff --git a/docs/features.txt b/docs/features.txt index e7a0d7b7232..150e0d5fd22 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -224,18 +224,18 @@ GL 4.5, GLSL 4.50 -- all DONE: nvc0, radeonsi, r600 GL_KHR_robustness DONE (freedreno, i965) GL_EXT_shader_integer_mix DONE (all drivers that support GLSL) -GL 4.6, GLSL 4.60 +GL 4.6, GLSL 4.60 -- all DONE: radeonsi GL_ARB_gl_spirv DONE (i965/gen7+) - GL_ARB_indirect_parameters DONE (i965/gen7+, nvc0, radeonsi, virgl) - GL_ARB_pipeline_statistics_query DONE (i965, nvc0, r600, radeonsi, llvmpipe, softpipe, swr) - GL_ARB_polygon_offset_clamp DONE (freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, swr, virgl) - GL_ARB_shader_atomic_counter_ops DONE (freedreno/a5xx+, i965/gen7+, nvc0, r600, radeonsi, llvmpipe, softpipe, virgl) - GL_ARB_shader_draw_parameters DONE (i965, nvc0, radeonsi) - GL_ARB_shader_group_vote DONE (i965, nvc0, radeonsi) + GL_ARB_indirect_parameters DONE (i965/gen7+, nvc0, virgl) + GL_ARB_pipeline_statistics_query DONE (i965, nvc0, r600, llvmpipe, softpipe, swr) + GL_ARB_polygon_offset_clamp DONE (freedreno, i965, nv50, nvc0, r600, llvmpipe, swr, virgl) + GL_ARB_shader_atomic_counter_ops DONE (freedreno/a5xx+, i965/gen7+, nvc0, r600, llvmpipe, softpipe, virgl) + GL_ARB_shader_draw_parameters DONE (i965, nvc0) + GL_ARB_shader_group_vote DONE (i965, nvc0) GL_ARB_spirv_extensions DONE (i965/gen7+) - GL_ARB_texture_filter_anisotropic DONE (freedreno, i965, nv50, nvc0, r600, radeonsi, softpipe (*), llvmpipe (*)) - GL_ARB_transform_feedback_overflow_query DONE (i965/gen6+, nvc0, radeonsi, llvmpipe, softpipe, virgl) + GL_ARB_texture_filter_anisotropic DONE (freedreno, i965, nv50, nvc0, r600, softpipe (*), llvmpipe (*)) + GL_ARB_transform_feedback_overflow_query DONE (i965/gen6+, nvc0, llvmpipe, softpipe, virgl) GL_KHR_no_error DONE (all drivers) (*) softpipe and llvmpipe advertise 16x anisotropy but simply ignore the setting diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index f8449b11b17..a9cc34bea23 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -1,5 +1,8 @@ +OpenGL 4.6 on radeonsi. +GL_ARB_gl_spirv on radeonsi. +GL_ARB_spirv_extensions on radeonsi. +GL_EXT_direct_state_access for compatibility profile. VK_AMD_device_coherent_memory on RADV. VK_EXT_subgroup_size_control on RADV. VK_KHR_separate_depth_stencil_layouts on Intel, RADV. VK_KHR_shader_subgroup_extended_types on RADV. -EXT_direct_state_access for compatibility profile. diff --git a/src/gallium/drivers/radeonsi/si_debug_options.h b/src/gallium/drivers/radeonsi/si_debug_options.h index d6cb3157632..7ba835acf84 100644 --- a/src/gallium/drivers/radeonsi/si_debug_options.h +++ b/src/gallium/drivers/radeonsi/si_debug_options.h @@ -1,5 +1,5 @@ OPT_BOOL(clear_db_cache_before_clear, false, "Clear DB cache before fast depth clear") -OPT_BOOL(enable_nir, false, "Enable NIR") +OPT_BOOL(enable_nir, true, "Enable NIR") OPT_BOOL(aux_debug, false, "Generate ddebug_dumps for the auxiliary context") OPT_BOOL(sync_compile, false, "Always compile synchronously (will cause stalls)") OPT_BOOL(dump_shader_binary, false, "Dump shader binary as part of ddebug_dumps")