radv: add initial non-conformant radv vulkan driver
authorDave Airlie <airlied@redhat.com>
Thu, 6 Oct 2016 23:16:09 +0000 (09:16 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 6 Oct 2016 23:16:09 +0000 (09:16 +1000)
commitf4e499ec79147f4172f3669ae9dafd941aaeeb65
tree4e082d4d950ffd0a676a8131179ca0e7ce94d99f
parent28ecd3eac24ce41b8a855a50f366f1985d1dc934
radv: add initial non-conformant radv vulkan driver

This squashes all the radv development up until now into
one for merging.

History can be found:
https://github.com/airlied/mesa/tree/semi-interesting

This requires llvm 3.9 and is in no way considered
a conformant vulkan implementation. It can run a number
of vulkan applications, and supports all GPUs using
the amdgpu kernel driver.

Thanks to Intel for providing anv and spirv->nir,
and Emil Velikov for reviewing build integration.

Parts of this are:
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Authors: Bas Nieuwenhuizen and Dave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
63 files changed:
configure.ac
src/Makefile.am
src/amd/common/Makefile.am [new file with mode: 0644]
src/amd/common/Makefile.sources [new file with mode: 0644]
src/amd/common/ac_binary.c [new file with mode: 0644]
src/amd/common/ac_binary.h [new file with mode: 0644]
src/amd/common/ac_llvm_helper.cpp [new file with mode: 0644]
src/amd/common/ac_llvm_util.c [new file with mode: 0644]
src/amd/common/ac_llvm_util.h [new file with mode: 0644]
src/amd/common/ac_nir_to_llvm.c [new file with mode: 0644]
src/amd/common/ac_nir_to_llvm.h [new file with mode: 0644]
src/amd/vulkan/.gitignore [new file with mode: 0644]
src/amd/vulkan/Makefile.am [new file with mode: 0644]
src/amd/vulkan/Makefile.sources [new file with mode: 0644]
src/amd/vulkan/dev_icd.json.in [new file with mode: 0644]
src/amd/vulkan/radeon_icd.json [new file with mode: 0644]
src/amd/vulkan/radv_cmd_buffer.c [new file with mode: 0644]
src/amd/vulkan/radv_cs.h [new file with mode: 0644]
src/amd/vulkan/radv_descriptor_set.c [new file with mode: 0644]
src/amd/vulkan/radv_descriptor_set.h [new file with mode: 0644]
src/amd/vulkan/radv_device.c [new file with mode: 0644]
src/amd/vulkan/radv_device_info.h [new file with mode: 0644]
src/amd/vulkan/radv_entrypoints_gen.py [new file with mode: 0644]
src/amd/vulkan/radv_formats.c [new file with mode: 0644]
src/amd/vulkan/radv_image.c [new file with mode: 0644]
src/amd/vulkan/radv_meta.c [new file with mode: 0644]
src/amd/vulkan/radv_meta.h [new file with mode: 0644]
src/amd/vulkan/radv_meta_blit.c [new file with mode: 0644]
src/amd/vulkan/radv_meta_blit2d.c [new file with mode: 0644]
src/amd/vulkan/radv_meta_buffer.c [new file with mode: 0644]
src/amd/vulkan/radv_meta_bufimage.c [new file with mode: 0644]
src/amd/vulkan/radv_meta_clear.c [new file with mode: 0644]
src/amd/vulkan/radv_meta_copy.c [new file with mode: 0644]
src/amd/vulkan/radv_meta_decompress.c [new file with mode: 0644]
src/amd/vulkan/radv_meta_fast_clear.c [new file with mode: 0644]
src/amd/vulkan/radv_meta_resolve.c [new file with mode: 0644]
src/amd/vulkan/radv_meta_resolve_cs.c [new file with mode: 0644]
src/amd/vulkan/radv_pass.c [new file with mode: 0644]
src/amd/vulkan/radv_pipeline.c [new file with mode: 0644]
src/amd/vulkan/radv_pipeline_cache.c [new file with mode: 0644]
src/amd/vulkan/radv_private.h [new file with mode: 0644]
src/amd/vulkan/radv_query.c [new file with mode: 0644]
src/amd/vulkan/radv_radeon_winsys.h [new file with mode: 0644]
src/amd/vulkan/radv_util.c [new file with mode: 0644]
src/amd/vulkan/radv_util.h [new file with mode: 0644]
src/amd/vulkan/radv_wsi.c [new file with mode: 0644]
src/amd/vulkan/radv_wsi.h [new file with mode: 0644]
src/amd/vulkan/radv_wsi_wayland.c [new file with mode: 0644]
src/amd/vulkan/radv_wsi_x11.c [new file with mode: 0644]
src/amd/vulkan/si_cmd_buffer.c [new file with mode: 0644]
src/amd/vulkan/vk_format.h [new file with mode: 0644]
src/amd/vulkan/vk_format_layout.csv [new file with mode: 0644]
src/amd/vulkan/vk_format_parse.py [new file with mode: 0755]
src/amd/vulkan/vk_format_table.py [new file with mode: 0755]
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c [new file with mode: 0644]
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.h [new file with mode: 0644]
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c [new file with mode: 0644]
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.h [new file with mode: 0644]
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c [new file with mode: 0644]
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.h [new file with mode: 0644]
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c [new file with mode: 0644]
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h [new file with mode: 0644]
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys_public.h [new file with mode: 0644]