summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/vulkan
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2018-07-31 13:53:30 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-01 10:07:22 +0100
commitb5dbf20ce6d508fc89646a343d34cb255c7d37fc (patch)
treeaf4b1a43348dac231356df71f3b4d3870160258f /meta/recipes-graphics/vulkan
parentcf434065b366a11a7b162ed277392d67622caeac (diff)
downloadpoky-b5dbf20ce6d508fc89646a343d34cb255c7d37fc.tar.gz
vulkan: upgrade to version 1.1.73.0
Refresh the patch: demos-Don-t-build-tri-or-cube.patch License-Update: Updates in copyright information. (From OE-Core rev: 4f6652e9b8a4fad7d650e1f88aa830fd7f88ea49) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/vulkan')
-rw-r--r--meta/recipes-graphics/vulkan/vulkan/demos-Don-t-build-tri-or-cube.patch110
-rw-r--r--meta/recipes-graphics/vulkan/vulkan_1.1.73.0.bb (renamed from meta/recipes-graphics/vulkan/vulkan_1.0.65.2.bb)7
2 files changed, 69 insertions, 48 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan/demos-Don-t-build-tri-or-cube.patch b/meta/recipes-graphics/vulkan/vulkan/demos-Don-t-build-tri-or-cube.patch
index bcf84a5a3e..b0b9fc4e43 100644
--- a/meta/recipes-graphics/vulkan/vulkan/demos-Don-t-build-tri-or-cube.patch
+++ b/meta/recipes-graphics/vulkan/vulkan/demos-Don-t-build-tri-or-cube.patch
@@ -1,21 +1,30 @@
1commit f63cbe944107b5cd8f150ceaaec43b26099d5688 1From 9b13be109bc66f4d4a1ad53ce5c92c7c495e41d7 Mon Sep 17 00:00:00 2001
2From: "Maxin B. John" <maxin.john@intel.com>
3Date: Tue, 24 Jul 2018 17:40:52 +0300
4Subject: [PATCH] commit f63cbe944107b5cd8f150ceaaec43b26099d5688
5
2Author: Adam Jackson <ajax@redhat.com> 6Author: Adam Jackson <ajax@redhat.com>
3Date: Tue Feb 16 10:05:25 2016 -0500 7Date: Tue Feb 16 10:05:25 2016 -0500
4 8
5 demos: Don't build tri or cube 9demos: Don't build tri or cube
6 10
7 There are more interesting demos, all we really want here is vulkaninfo. 11There are more interesting demos, all we really want here is vulkaninfo.
8 This helps because we don't need to pre-build glslang/llvm/lunarglass 12This helps because we don't need to pre-build glslang/llvm/lunarglass
9 just to get the loader and layers. 13just to get the loader and layers.
10 14
11Upstream-Status: Inappropriate [configuration] 15Upstream-Status: Inappropriate [configuration]
16
12Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> 17Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
18Signed-off-by: Maxin B. John <maxin.john@intel.com>
19---
20 demos/CMakeLists.txt | 88 ----------------------------------------------------
21 1 file changed, 88 deletions(-)
13 22
14Index: git/demos/CMakeLists.txt 23diff --git a/demos/CMakeLists.txt b/demos/CMakeLists.txt
15=================================================================== 24index 4f32679..26e4cdf 100644
16--- git.orig/demos/CMakeLists.txt 25--- a/demos/CMakeLists.txt
17+++ git/demos/CMakeLists.txt 26+++ b/demos/CMakeLists.txt
18@@ -63,46 +63,6 @@ elseif(UNIX) 27@@ -93,42 +93,6 @@ elseif(UNIX)
19 else() 28 else()
20 endif() 29 endif()
21 30
@@ -37,38 +46,40 @@ Index: git/demos/CMakeLists.txt
37- endif() 46- endif()
38- endforeach() 47- endforeach()
39- 48-
40- add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/demos/cube-vert.spv
41- COMMAND ${GLSLANG_VALIDATOR} -s -V -o ${CMAKE_BINARY_DIR}/demos/cube-vert.spv ${PROJECT_SOURCE_DIR}/demos/cube.vert
42- DEPENDS cube.vert ${GLSLANG_VALIDATOR}
43- )
44- add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/demos/cube-frag.spv
45- COMMAND ${GLSLANG_VALIDATOR} -s -V -o ${CMAKE_BINARY_DIR}/demos/cube-frag.spv ${PROJECT_SOURCE_DIR}/demos/cube.frag
46- DEPENDS cube.frag ${GLSLANG_VALIDATOR}
47- )
48- file(COPY cube.vcxproj.user DESTINATION ${CMAKE_BINARY_DIR}/demos) 49- file(COPY cube.vcxproj.user DESTINATION ${CMAKE_BINARY_DIR}/demos)
49- file(COPY vulkaninfo.vcxproj.user DESTINATION ${CMAKE_BINARY_DIR}/demos) 50- file(COPY vulkaninfo.vcxproj.user DESTINATION ${CMAKE_BINARY_DIR}/demos)
50-else()
51- if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL ${CMAKE_HOST_SYSTEM_PROCESSOR})
52- add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/demos/cube-vert.spv
53- COMMAND ${GLSLANG_VALIDATOR} -s -V -o cube-vert.spv ${PROJECT_SOURCE_DIR}/demos/cube.vert
54- DEPENDS cube.vert ${GLSLANG_VALIDATOR}
55- )
56- add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/demos/cube-frag.spv
57- COMMAND ${GLSLANG_VALIDATOR} -s -V -o cube-frag.spv ${PROJECT_SOURCE_DIR}/demos/cube.frag
58- DEPENDS cube.frag ${GLSLANG_VALIDATOR}
59- )
60- endif()
61-endif() 51-endif()
52-
53-add_custom_command(
54- COMMENT "Compiling cube demo vertex shader"
55- OUTPUT cube.vert.inc
56- COMMAND ${GLSLANG_VALIDATOR} -V -x -o ${CMAKE_CURRENT_BINARY_DIR}/cube.vert.inc ${PROJECT_SOURCE_DIR}/demos/cube.vert
57- MAIN_DEPENDENCY ${PROJECT_SOURCE_DIR}/demos/cube.vert
58- DEPENDS ${PROJECT_SOURCE_DIR}/demos/cube.vert ${GLSLANG_VALIDATOR}
59-)
60-add_custom_command(
61- COMMENT "Compiling cube demo fragment shader"
62- OUTPUT cube.frag.inc
63- COMMAND ${GLSLANG_VALIDATOR} -V -x -o ${CMAKE_CURRENT_BINARY_DIR}/cube.frag.inc ${PROJECT_SOURCE_DIR}/demos/cube.frag
64- MAIN_DEPENDENCY ${PROJECT_SOURCE_DIR}/demos/cube.frag
65- DEPENDS ${PROJECT_SOURCE_DIR}/demos/cube.frag ${GLSLANG_VALIDATOR}
66-)
62 67
63 if(WIN32) 68 include_directories(${CMAKE_CURRENT_BINARY_DIR})
64 include_directories (
65@@ -116,43 +76,6 @@ endif()
66 add_executable(${API_LOWERCASE}info vulkaninfo.c)
67 target_link_libraries(${API_LOWERCASE}info ${LIBRARIES})
68 69
69-if(NOT WIN32) 70@@ -172,55 +136,3 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
71 install(TARGETS ${API_LOWERCASE}info DESTINATION ${CMAKE_INSTALL_BINDIR})
72 endif()
73 endif()
74-
75-######################################################################################
76-# cube
77-
78-if(APPLE)
79- include(macOS/cube/cube.cmake)
80-elseif(NOT WIN32)
70- if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL ${CMAKE_HOST_SYSTEM_PROCESSOR}) 81- if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL ${CMAKE_HOST_SYSTEM_PROCESSOR})
71- add_executable(cube cube.c ${CMAKE_BINARY_DIR}/demos/cube-vert.spv ${CMAKE_BINARY_DIR}/demos/cube-frag.spv) 82- add_executable(cube cube.c ${PROJECT_SOURCE_DIR}/demos/cube.vert ${PROJECT_SOURCE_DIR}/demos/cube.frag cube.vert.inc cube.frag.inc)
72- target_link_libraries(cube ${LIBRARIES}) 83- target_link_libraries(cube ${LIBRARIES})
73- endif() 84- endif()
74-else() 85-else()
@@ -78,13 +89,18 @@ Index: git/demos/CMakeLists.txt
78- set (LIB_DIR "Win32") 89- set (LIB_DIR "Win32")
79- endif() 90- endif()
80- 91-
81- add_executable(cube WIN32 cube.c ${CMAKE_BINARY_DIR}/demos/cube-vert.spv ${CMAKE_BINARY_DIR}/demos/cube-frag.spv) 92- add_executable(cube WIN32 cube.c ${PROJECT_SOURCE_DIR}/demos/cube.vert ${PROJECT_SOURCE_DIR}/demos/cube.frag cube.vert.inc cube.frag.inc)
82- target_link_libraries(cube ${LIBRARIES}) 93- target_link_libraries(cube ${LIBRARIES})
83-endif() 94-endif()
84- 95-
85-if(NOT WIN32) 96-######################################################################################
97-# cubepp
98-
99-if(APPLE)
100- include(macOS/cubepp/cubepp.cmake)
101-elseif(NOT WIN32)
86- if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL ${CMAKE_HOST_SYSTEM_PROCESSOR}) 102- if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL ${CMAKE_HOST_SYSTEM_PROCESSOR})
87- add_executable(cubepp cube.cpp ${CMAKE_BINARY_DIR}/demos/cube-vert.spv ${CMAKE_BINARY_DIR}/demos/cube-frag.spv) 103- add_executable(cubepp cube.cpp ${PROJECT_SOURCE_DIR}/demos/cube.vert ${PROJECT_SOURCE_DIR}/demos/cube.frag cube.vert.inc cube.frag.inc)
88- target_link_libraries(cubepp ${LIBRARIES}) 104- target_link_libraries(cubepp ${LIBRARIES})
89- endif() 105- endif()
90-else() 106-else()
@@ -94,15 +110,19 @@ Index: git/demos/CMakeLists.txt
94- set (LIB_DIR "Win32") 110- set (LIB_DIR "Win32")
95- endif() 111- endif()
96- 112-
97- add_executable(cubepp WIN32 cube.cpp ${CMAKE_BINARY_DIR}/demos/cube-vert.spv ${CMAKE_BINARY_DIR}/demos/cube-frag.spv) 113- add_executable(cubepp WIN32 cube.cpp ${PROJECT_SOURCE_DIR}/demos/cube.vert ${PROJECT_SOURCE_DIR}/demos/cube.frag cube.vert.inc cube.frag.inc)
98- target_link_libraries(cubepp ${LIBRARIES}) 114- target_link_libraries(cubepp ${LIBRARIES})
99-endif() 115-endif()
100- 116-
117-######################################################################################
118-# smoke
119-
101-if ((${CMAKE_SYSTEM_PROCESSOR} STREQUAL ${CMAKE_HOST_SYSTEM_PROCESSOR})) 120-if ((${CMAKE_SYSTEM_PROCESSOR} STREQUAL ${CMAKE_HOST_SYSTEM_PROCESSOR}))
102- if ((DEMOS_WSI_SELECTION STREQUAL "XCB") OR (DEMOS_WSI_SELECTION STREQUAL "WAYLAND") OR WIN32 OR (CMAKE_SYSTEM_NAME STREQUAL "Android")) 121- if ((DEMOS_WSI_SELECTION STREQUAL "XCB") OR (DEMOS_WSI_SELECTION STREQUAL "WAYLAND") OR WIN32 OR
122- (CMAKE_SYSTEM_NAME STREQUAL "Android") OR (CMAKE_SYSTEM_NAME STREQUAL "Darwin"))
103- add_subdirectory(smoke) 123- add_subdirectory(smoke)
104- endif() 124- endif()
105-endif() 125-endif()
106 126--
107 if(UNIX) 1272.4.0
108 if(INSTALL_LVL_FILES) 128
diff --git a/meta/recipes-graphics/vulkan/vulkan_1.0.65.2.bb b/meta/recipes-graphics/vulkan/vulkan_1.1.73.0.bb
index 1c8a895504..5496f53967 100644
--- a/meta/recipes-graphics/vulkan/vulkan_1.0.65.2.bb
+++ b/meta/recipes-graphics/vulkan/vulkan_1.1.73.0.bb
@@ -9,11 +9,11 @@ SECTION = "libs"
9 9
10LICENSE = "Apache-2.0" 10LICENSE = "Apache-2.0"
11LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=99c647ca3d4f6a4b9d8628f757aad156 \ 11LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=99c647ca3d4f6a4b9d8628f757aad156 \
12 file://loader/loader.c;endline=25;md5=a87cd5442291c23d1fce4eece4cfde9d" 12 file://loader/loader.c;endline=25;md5=151b392f46568aaedb4ad22b246237ec"
13SRC_URI = "git://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git;branch=sdk-1.0.65 \ 13SRC_URI = "git://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git;branch=sdk-1.1.73 \
14 file://demos-Don-t-build-tri-or-cube.patch \ 14 file://demos-Don-t-build-tri-or-cube.patch \
15 " 15 "
16SRCREV = "73486a1a169d862d5210e2ad520d95319a2383fa" 16SRCREV = "5998d6f444a85e6381b7a089ebf3f9e86482a31d"
17UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" 17UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"
18 18
19S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
@@ -34,3 +34,4 @@ PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON -DD
34PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" 34PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland"
35 35
36RRECOMMENDS_${PN} = "mesa-vulkan-drivers" 36RRECOMMENDS_${PN} = "mesa-vulkan-drivers"
37INSANE_SKIP_${PN}-dev += "dev-elf"