summaryrefslogtreecommitdiffstats
path: root/Tests/FindVulkan/Test/main.c
diff options
context:
space:
mode:
authorRyan Kawicki <Ryan.H.Kawicki@alumni.purdue.edu>2020-06-26 03:14:55 (GMT)
committerRyan Kawicki <Ryan.H.Kawicki@alumni.purdue.edu>2020-06-27 01:57:06 (GMT)
commit467509d7674d62deb9aaca6c9d68628eb108f146 (patch)
tree6f74342a12b62df413c627f6f642e9d81bb221a6 /Tests/FindVulkan/Test/main.c
parentaae35feea2048e6ffe4d47a068aa5246c89bd606 (diff)
downloadCMake-467509d7674d62deb9aaca6c9d68628eb108f146.zip
CMake-467509d7674d62deb9aaca6c9d68628eb108f146.tar.gz
CMake-467509d7674d62deb9aaca6c9d68628eb108f146.tar.bz2
FindVulkan: Support for finding glslc
The GLSL SPIR-V compiler is part of the Vulkan SDK and may be used by projects for compiling shaders as part of the build process. This is not strictly required to build a Vulkan application, which is why the variable is not part of the REQUIRED_VARs for the module.
Diffstat (limited to 'Tests/FindVulkan/Test/main.c')
-rw-r--r--Tests/FindVulkan/Test/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/FindVulkan/Test/main.c b/Tests/FindVulkan/Test/main.c
index b29c9ec..1bff651 100644
--- a/Tests/FindVulkan/Test/main.c
+++ b/Tests/FindVulkan/Test/main.c
@@ -2,10 +2,10 @@
int main()
{
- VkInstanceCreateInfo instanceCreateInfo = {};
+ VkInstanceCreateInfo instanceCreateInfo = { 0 };
instanceCreateInfo.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
- VkApplicationInfo applicationInfo = {};
+ VkApplicationInfo applicationInfo = { 0 };
applicationInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
applicationInfo.apiVersion = VK_API_VERSION_1_0;
applicationInfo.applicationVersion = VK_MAKE_VERSION(1, 0, 0);