From d72ff3c8d5fb231b0e6a55637d0ea8e71882ed2c Mon Sep 17 00:00:00 2001 From: Sascha Willems Date: Sun, 24 Oct 2021 11:53:03 +0200 Subject: [PATCH] Use Vulkan bool type for material specialization Refs #876 --- examples/gltfscenerendering/gltfscenerendering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gltfscenerendering/gltfscenerendering.cpp b/examples/gltfscenerendering/gltfscenerendering.cpp index 44322ad7..c4acc9bd 100644 --- a/examples/gltfscenerendering/gltfscenerendering.cpp +++ b/examples/gltfscenerendering/gltfscenerendering.cpp @@ -574,7 +574,7 @@ void VulkanExample::preparePipelines() for (auto &material : glTFScene.materials) { struct MaterialSpecializationData { - bool alphaMask; + VkBool32 alphaMask; float alphaMaskCutoff; } materialSpecializationData;