In order to test memory sharing between Vulkan and GL one needs
to be able to write with one and read with the other. This series
introduces Vulkan rendering support taken from crucible.
There is work-in-progress test utilizing this. It setups the
pipeline and renders using GLSL shaders copied fro
Signed-off-by: Topi Pohjolainen
---
CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4259ec832..04bc656ed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -173,6 +173,8 @@ ELSEIF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
endif()
This stripped down version of glsl_scraper.py found in crucible.
Signed-off-by: Topi Pohjolainen
---
.../compile_and_dump_glsl_as_spirv.py | 139 +
1 file changed, 139 insertions(+)
create mode 100644
tests/spec/ext_memory_object/compile_and_dump_glsl_as_spirv.
Signed-off-by: Topi Pohjolainen
---
tests/spec/ext_memory_object/vk_common.c | 320 +++
tests/spec/ext_memory_object/vk_common.h | 35
2 files changed, 355 insertions(+)
diff --git a/tests/spec/ext_memory_object/vk_common.c
b/tests/spec/ext_memory_object/vk_com
Signed-off-by: Topi Pohjolainen
---
tests/spec/ext_memory_object/vk_common.c | 245 +++
tests/spec/ext_memory_object/vk_common.h | 38 +
2 files changed, 283 insertions(+)
create mode 100644 tests/spec/ext_memory_object/vk_common.c
create mode 100644 tests/spec/
Currently only the vulkan rendering part is implemented.
Signed-off-by: Topi Pohjolainen
---
tests/spec/ext_memory_object/CMakeLists.gl.txt | 20 +++
tests/spec/ext_memory_object/vk_fragcoord.fs | 8 +
tests/spec/ext_memory_object/vk_fragcoord.vs | 9 ++
tests/spec/ext_memor
Signed-off-by: Topi Pohjolainen
---
tests/spec/ext_memory_object/vk_common.h | 25 +++
tests/spec/ext_memory_object/vk_fb.c | 300 +++
2 files changed, 325 insertions(+)
create mode 100644 tests/spec/ext_memory_object/vk_fb.c
diff --git a/tests/spec/ext_memory_o