turnip: preliminary support for shader modules
authorChia-I Wu <olvaffe@gmail.com>
Wed, 20 Feb 2019 17:53:47 +0000 (09:53 -0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 11 Mar 2019 17:02:13 +0000 (10:02 -0700)
commit970a8fec96440dc749d309505dfa17e8db028484
treea41a7cd28a8d069d0b73a387653b99f7801541dd
parent9e0d87878735ee65b8b5529640bc18139d0b7b9f
turnip: preliminary support for shader modules

Save SPIR-V in tu_shader_module.  Tranlation to NIR happens in
tu_shader_create, and compilation to binary code happens in
tu_shader_compile.  Both will be called during pipeline creation.
src/freedreno/vulkan/.clang-format
src/freedreno/vulkan/meson.build
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_private.h
src/freedreno/vulkan/tu_shader.c [new file with mode: 0644]