mesa/src/freedreno/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
..
.clang-format turnip: preliminary support for Wayland WSI 2019-03-11 10:02:13 -07:00
meson.build vulkan: fix build dependency issue with generated files 2019-05-22 14:07:14 +00:00
TODO turnip: clean up TODO. 2019-03-11 10:01:41 -07:00
tu_android.c turnip: Use Vulkan 1.1 names instead of KHR 2019-03-11 10:02:13 -07:00
tu_cmd_buffer.c freedreno: update generated headers 2019-04-25 14:13:31 -07:00
tu_cs.c turnip: simplify tu_cs sub-streams usage 2019-03-11 10:02:13 -07:00
tu_cs.h turnip: tu_cs_emit_array 2019-03-11 10:02:13 -07:00
tu_descriptor_set.c turnip: Use Vulkan 1.1 names instead of KHR 2019-03-11 10:02:13 -07:00
tu_descriptor_set.h turnip: add .clang-format 2019-03-11 10:01:41 -07:00
tu_device.c freedreno: Move msm_drm.h to the same spot as other DRM uapi. 2019-05-14 11:51:55 -07:00
tu_drm.c freedreno: Move msm_drm.h to the same spot as other DRM uapi. 2019-05-14 11:51:55 -07:00
tu_entrypoints_gen.py tu/entrypoints: Import copy 2019-05-13 17:20:33 -05:00
tu_extensions.py turnip: add support for VK_KHR_external_memory_{fd,dma_buf} 2019-03-11 10:02:13 -07:00
tu_fence.c turnip: preliminary support for fences 2019-03-11 10:02:13 -07:00
tu_formats.c turnip: Fix GCC compiles. 2019-03-16 14:38:51 +00:00
tu_icd.py turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
tu_image.c turnip: preliminary support for tu_GetImageSubresourceLayout 2019-03-11 10:02:13 -07:00
tu_meta_blit.c turnip: add .clang-format 2019-03-11 10:01:41 -07:00
tu_meta_buffer.c turnip: Implement buffer->buffer DMA copies. 2019-03-11 10:02:13 -07:00
tu_meta_clear.c turnip: add .clang-format 2019-03-11 10:01:41 -07:00
tu_meta_copy.c turnip: Add todo for copies. 2019-03-11 10:02:13 -07:00
tu_meta_resolve.c turnip: add .clang-format 2019-03-11 10:01:41 -07:00
tu_pass.c turnip: Use Vulkan 1.1 names instead of KHR 2019-03-11 10:02:13 -07:00
tu_pipeline.c freedreno: update generated headers 2019-04-25 14:13:31 -07:00
tu_pipeline_cache.c turnip: add .clang-format 2019-03-11 10:01:41 -07:00
tu_private.h freedreno: Move msm_drm.h to the same spot as other DRM uapi. 2019-05-14 11:51:55 -07:00
tu_query.c turnip: add .clang-format 2019-03-11 10:01:41 -07:00
tu_shader.c spirv: Change spirv_to_nir() to return a nir_shader 2019-05-29 10:34:35 -07:00
tu_util.c turnip: add .clang-format 2019-03-11 10:01:41 -07:00
tu_util.h turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
tu_wsi.c vulkan/wsi: Add X11 adaptive sync support based on dri options. 2019-04-23 23:49:39 +00:00
tu_wsi_wayland.c turnip: preliminary support for Wayland WSI 2019-03-11 10:02:13 -07:00
vk_format.h turnip: parse VkPipeline{Multisample,ColorBlend}StateCreateInfo 2019-03-11 10:02:13 -07:00
vk_format_layout.csv turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
vk_format_parse.py turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
vk_format_table.py turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00