mesa/src/amd/vulkan
Caio Marcelo de Oliveira Filho e45bf01940 spirv: Change spirv_to_nir() to return a nir_shader
spirv_to_nir() returned the nir_function corresponding to the
entrypoint, as a way to identify it.  There's now a bool is_entrypoint
in nir_function and also a helper function to get the entry_point from
a nir_shader.

The return type reflects better what the function name suggests.  It
also helps drivers avoid the mistake of reusing internal shader
references after running NIR_PASS on it.  When using NIR_TEST_CLONE or
NIR_TEST_SERIALIZE, those would be invalidated right in the first pass
executed.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2019-05-29 10:34:35 -07:00
..
winsys/amdgpu ac: rename SI-CIK-VI to GFX6-GFX7-GFX8 2019-05-15 20:54:10 -04:00
.editorconfig amd: add .editorconfig 2017-08-29 01:08:58 +03:00
Android.mk android: radv: add libmesa_git_sha1 static dependency 2018-11-03 10:48:45 +01:00
Makefile.sources radv: Add ycbcr lowering pass. 2019-04-25 19:56:20 +00:00
meson.build vulkan: fix build dependency issue with generated files 2019-05-22 14:07:14 +00:00
radv_android.c radv: Use given stride for images imported from Android. 2019-05-06 15:36:39 +00:00
radv_cmd_buffer.c radv: sync before resetting a pool if there is active pending queries 2019-05-29 08:47:54 +02:00
radv_cs.h amd,radeonsi: rename radeon_winsys_cs -> radeon_cmdbuf 2018-06-19 13:08:50 -04:00
radv_debug.c ac: rename SI-CIK-VI to GFX6-GFX7-GFX8 2019-05-15 20:54:10 -04:00
radv_debug.h radv: add a workaround for Monster Hunter World and LLVM 7&8 2019-05-17 11:41:19 +02:00
radv_descriptor_set.c radv: Do not use extra descriptor space for the 3rd plane. 2019-05-12 23:02:44 +00:00
radv_descriptor_set.h radv: Do not use extra descriptor space for the 3rd plane. 2019-05-12 23:02:44 +00:00
radv_device.c ac: treat Mullins as Kabini, remove the enum 2019-05-27 15:10:51 -04:00
radv_entrypoints_gen.py radv: Add support for icd loader interface v4. 2019-05-13 00:41:31 +02:00
radv_extensions.py ac: rename SI-CIK-VI to GFX6-GFX7-GFX8 2019-05-15 20:54:10 -04:00
radv_formats.c ac: rename SI-CIK-VI to GFX6-GFX7-GFX8 2019-05-15 20:54:10 -04:00
radv_icd.py python: Specify the JSON separators 2018-07-05 12:52:38 +01:00
radv_image.c ac: rename SI-CIK-VI to GFX6-GFX7-GFX8 2019-05-15 20:54:10 -04:00
radv_llvm_helper.cpp radv/llvm: initialise passes member. 2019-02-11 08:59:02 +10:00
radv_meta.c radv: add support for FMASK expand 2018-12-20 18:01:17 +01:00
radv_meta.h radv: always use view format when performing subpass resolves 2019-05-29 08:53:46 +02:00
radv_meta_blit.c nir/builder: Remove the use_fmov parameter from nir_swizzle 2019-05-24 08:38:11 -05:00
radv_meta_blit2d.c radv: Support different source & dest aspects for planar images in blit2d. 2019-04-25 19:56:20 +00:00
radv_meta_buffer.c nir/builder: Remove the use_fmov parameter from nir_swizzle 2019-05-24 08:38:11 -05:00
radv_meta_bufimage.c radv: Add multiple planes to images. 2019-04-25 19:56:20 +00:00
radv_meta_clear.c radv: add radv_clear_htile() helper 2019-05-27 13:52:34 +02:00
radv_meta_copy.c radv: Allow mixed src/dst aspects in copies. 2019-04-25 19:56:20 +00:00
radv_meta_decompress.c radv: drop few useless state changes when doing color/depth decompressions 2018-11-29 10:18:55 +01:00
radv_meta_fast_clear.c radv: allow to skip DCC decompressions with the new predicate 2018-12-13 09:21:14 +01:00
radv_meta_fmask_expand.c radv: add support for FMASK expand 2018-12-20 18:01:17 +01:00
radv_meta_resolve.c radv: use view format when selecting the resolve path for subpasses 2019-05-29 08:53:48 +02:00
radv_meta_resolve_cs.c radv: always use view format when performing subpass resolves 2019-05-29 08:53:46 +02:00
radv_meta_resolve_fs.c radv: always dirty the framebuffer when restoring a subpass 2019-05-27 13:52:36 +02:00
radv_nir_lower_ycbcr_textures.c radv: Implement cosited_even sampling. 2019-05-06 11:09:30 +00:00
radv_nir_to_llvm.c ac: rename SI-CIK-VI to GFX6-GFX7-GFX8 2019-05-15 20:54:10 -04:00
radv_pass.c radv: Clean up a bunch of compiler warnings. 2019-02-20 03:21:09 +01:00
radv_pipeline.c ac: treat Mullins as Kabini, remove the enum 2019-05-27 15:10:51 -04:00
radv_pipeline_cache.c radv: Implement VK_EXT_pipeline_creation_feedback. 2019-03-20 21:19:46 +00:00
radv_private.h radv: sync before resetting a pool if there is active pending queries 2019-05-29 08:47:54 +02:00
radv_query.c radv: sync before resetting a pool if there is active pending queries 2019-05-29 08:47:54 +02:00
radv_radeon_winsys.h radv: Clean up signalled and submitted fields from winsys fences. 2019-05-13 20:36:29 +00:00
radv_shader.c spirv: Change spirv_to_nir() to return a nir_shader 2019-05-29 10:34:35 -07:00
radv_shader.h radv: Run the new ycbcr lowering pass. 2019-04-25 19:56:20 +00:00
radv_shader_helper.h amd: remove support for LLVM 6.0 2018-12-06 14:02:56 +01:00
radv_shader_info.c radv: fix set_output_usage_mask() with composite and 64-bit types 2019-05-02 10:24:20 +01:00
radv_util.c radv: Add startup debug option. 2018-05-31 11:51:23 +02: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: Clean up signalled and submitted fields from winsys fences. 2019-05-13 20:36:29 +00:00
radv_wsi_display.c radv: Clean up signalled and submitted fields from winsys fences. 2019-05-13 20:36:29 +00: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: drop always-true param 2018-10-26 18:33:11 +01:00
si_cmd_buffer.c radv: sync before resetting a pool if there is active pending queries 2019-05-29 08:47:54 +02:00
vk_format.h radv: Add logic for multisample format descriptions. 2019-04-25 19:56:20 +00:00
vk_format_layout.csv radv: Add ycbcr subsampled & multiplane formats to csv. 2019-04-25 19:56:20 +00:00
vk_format_parse.py radv: Add logic for multisample format descriptions. 2019-04-25 19:56:20 +00:00
vk_format_table.py radv: Add logic for multisample format descriptions. 2019-04-25 19:56:20 +00:00