Fixed specialization constant type
This commit is contained in:
parent
3d7f4477d8
commit
e80a063fc5
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Vulkan Example - Variable rate shading
|
||||
*
|
||||
* Copyright (C) 2020 by Sascha Willems - www.saschawillems.de
|
||||
* Copyright (C) 2020-2022 by Sascha Willems - www.saschawillems.de
|
||||
*
|
||||
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
||||
*/
|
||||
|
|
@ -326,7 +326,7 @@ void VulkanExample::preparePipelines()
|
|||
|
||||
// Properties for alpha masked materials will be passed via specialization constants
|
||||
struct SpecializationData {
|
||||
bool alphaMask;
|
||||
VkBool32 alphaMask;
|
||||
float alphaMaskCutoff;
|
||||
} specializationData;
|
||||
specializationData.alphaMask = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue