Skip to content
Snippets Groups Projects
Commit d72ff3c8 authored by Sascha Willems's avatar Sascha Willems
Browse files

Use Vulkan bool type for material specialization

Refs #876
parent 1c6c08d4
No related branches found
No related tags found
No related merge requests found
...@@ -574,7 +574,7 @@ void VulkanExample::preparePipelines() ...@@ -574,7 +574,7 @@ void VulkanExample::preparePipelines()
for (auto &material : glTFScene.materials) { for (auto &material : glTFScene.materials) {
struct MaterialSpecializationData { struct MaterialSpecializationData {
bool alphaMask; VkBool32 alphaMask;
float alphaMaskCutoff; float alphaMaskCutoff;
} materialSpecializationData; } materialSpecializationData;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment