mesa/src/amd/vulkan
Samuel Pitoiset 7aa008d1d7 radv: enable lowering of fpow to fexp2 and flog2
There is no fpow in hardware, so it's always lowered somewhere,
but it appears that lowering at NIR level is better. Figured while
comparing compute shaders between RadeonSI and RADV.

Polaris10:
Totals from affected shaders:
SGPRS: 18936 -> 18904 (-0.17 %)
VGPRS: 12240 -> 12220 (-0.16 %)
Spilled SGPRs: 2809 -> 2809 (0.00 %)
Code Size: 718116 -> 719848 (0.24 %) bytes
Max Waves: 1409 -> 1410 (0.07 %)

Vega10:
Totals from affected shaders:
SGPRS: 18392 -> 18392 (0.00 %)
VGPRS: 12008 -> 11920 (-0.73 %)
Spilled SGPRs: 3001 -> 2981 (-0.67 %)
Code Size: 777444 -> 778788 (0.17 %) bytes
Max Waves: 1503 -> 1504 (0.07 %)

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2018-02-22 20:40:47 +01:00
..
winsys/amdgpu radv: implement VK_EXT_external_memory_host 2018-02-08 00:46:07 +01:00
.editorconfig amd: add .editorconfig 2017-08-29 01:08:58 +03:00
.gitignore radv: port to using updated anv entrypoint/extension generator. 2017-10-17 16:50:32 +10:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
Makefile.sources radv: Implement VK_ANDROID_native_buffer. 2018-01-19 01:43:55 +01:00
dev_icd.json.in meson: generate builddir/src/amd/vulkan/dev_icd.json 2017-10-05 23:46:21 +02:00
meson.build radv: Implement VK_ANDROID_native_buffer. 2018-01-19 01:43:55 +01:00
radeon_icd.json.in radv: Suffix the radeon_icd file with the host CPU 2016-11-09 21:36:45 +00:00
radv_android.c radv: Implement VK_ANDROID_native_buffer. 2018-01-19 01:43:55 +01:00
radv_cmd_buffer.c radv: use separate bindings for graphics and compute descriptors 2018-02-01 09:37:09 +01:00
radv_cs.h amd: move r600d_common.h into r600g 2017-10-09 16:27:06 +02:00
radv_debug.c radv: do not print ASM to stderr when dumping shaders 2017-12-08 11:24:24 +01:00
radv_debug.h radv: add an option that allows to dump pre-optimization ir 2018-01-22 12:28:33 +01:00
radv_descriptor_set.c radv: Fix compiler warning about uninitialized 'set' 2018-02-12 20:48:47 +00:00
radv_descriptor_set.h radv: remove radv_pipeline_layout::push_constant_stages field 2018-01-10 12:31:57 +01:00
radv_device.c radv: allow to force family using RADV_FORCE_FAMILY 2018-02-20 10:44:47 +01:00
radv_entrypoints_gen.py radv: Generate VK_ANDROID_native_buffer. 2018-01-19 01:43:55 +01:00
radv_extensions.py radv: implement VK_EXT_external_memory_host 2018-02-08 00:46:07 +01:00
radv_formats.c radv: implement VK_EXT_external_memory_host 2018-02-08 00:46:07 +01:00
radv_image.c radv: don't support tc-compat on multisample d32s8 at all. 2018-02-06 19:56:00 +00:00
radv_meta.c radv: use separate bindings for graphics and compute descriptors 2018-02-01 09:37:09 +01:00
radv_meta.h radv: Add compute DCC decompress. 2017-12-29 12:21:40 +01:00
radv_meta_blit.c radv: Make color meta operations layout aware. 2017-12-29 12:21:44 +01:00
radv_meta_blit2d.c radv: Make color meta operations layout aware. 2017-12-29 12:21:44 +01:00
radv_meta_buffer.c radv: optimize calling radv_cmd_buffer_trace_emit() 2017-11-13 11:05:38 +01:00
radv_meta_bufimage.c radv: Fix bufimage failure deallocation. 2018-01-22 00:07:32 +01:00
radv_meta_clear.c radv: restore previous stencil reference after depth-stencil clear 2018-01-22 08:57:42 +00:00
radv_meta_copy.c radv: Decompress copy destination if formats are incompatible. 2017-12-29 12:21:58 +01:00
radv_meta_decompress.c radv: create pipeline layout objects for all meta operations 2017-12-19 21:22:06 +01:00
radv_meta_fast_clear.c radv: Make color meta operations layout aware. 2017-12-29 12:21:44 +01:00
radv_meta_resolve.c radv: don't use hw resolves for r16g16 norm formats. 2018-01-24 09:01:12 +10:00
radv_meta_resolve_cs.c radv: Fix memory allocation failure path in compute resolve init. 2018-01-22 00:07:19 +01:00
radv_meta_resolve_fs.c radv: Fix fragment resolve init memory allocation failure paths. 2018-01-22 00:07:29 +01:00
radv_pass.c radv: Store multiview info in renderpass. 2017-08-24 19:20:47 +02:00
radv_pipeline.c radv: don't send num_tcs_input_cp to sgprs. 2018-02-21 00:01:36 +00:00
radv_pipeline_cache.c radv: do not insert shaders in cache when it's disabled 2018-02-01 09:40:11 +01:00
radv_private.h radv: implement VK_EXT_external_memory_host 2018-02-08 00:46:07 +01:00
radv_query.c radv: fix pipeline statistics end query on compute queue 2017-12-28 19:31:01 +10:00
radv_radeon_winsys.h radv: implement VK_EXT_external_memory_host 2018-02-08 00:46:07 +01:00
radv_shader.c radv: enable lowering of fpow to fexp2 and flog2 2018-02-22 20:40:47 +01:00
radv_shader.h radv: Always lower indirect derefs after nir_lower_global_vars_to_local. 2018-02-15 23:45:59 +01:00
radv_util.c radv: use enum_to_str util functions. 2017-03-04 15:05:14 +00:00
radv_util.h radv: Use proper header guards over 'pragma once' directives 2016-10-10 16:10:56 +11:00
radv_wsi.c radv: Implement fences based on syncobjs. 2017-12-18 09:31:12 +01:00
radv_wsi_wayland.c radv/wsi: Don't include wayland headers 2017-03-13 11:16:30 +00:00
radv_wsi_x11.c vulkan/wsi/radv: add initial prime support (v1.1) 2017-02-27 05:42:16 +10:00
si_cmd_buffer.c radv: remove predication on cache flushes 2018-01-31 13:37:18 +10:00
vk_format.h radv: Don't use SRGB format for image stores during resolve. 2017-08-06 16:06:50 +02:00
vk_format_layout.csv
vk_format_parse.py amd: remove shebang from python scripts 2017-03-10 14:12:46 +00:00
vk_format_table.py amd: remove shebang from python scripts 2017-03-10 14:12:46 +00:00