formating
This commit is contained in:
parent
7082dca46d
commit
7f903f8a22
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ void HelloVulkan::createLanternIndirectCompPipeline()
|
||||||
stageInfo.setPName("main");
|
stageInfo.setPName("main");
|
||||||
|
|
||||||
// Set up push constant and pipeline layout.
|
// Set up push constant and pipeline layout.
|
||||||
constexpr auto pushSize = sizeof(m_lanternIndirectPushConstants);
|
constexpr auto pushSize = static_cast<uint32_t>(sizeof(m_lanternIndirectPushConstants));
|
||||||
vk::PushConstantRange pushCRange = {vk::ShaderStageFlagBits::eCompute, 0, pushSize};
|
vk::PushConstantRange pushCRange = {vk::ShaderStageFlagBits::eCompute, 0, pushSize};
|
||||||
static_assert(pushSize <= 128, "Spec guarantees only 128 byte push constant");
|
static_assert(pushSize <= 128, "Spec guarantees only 128 byte push constant");
|
||||||
vk::PipelineLayoutCreateInfo layoutInfo;
|
vk::PipelineLayoutCreateInfo layoutInfo;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue