Skip to content

Commit 32c2804

Browse files
committed
Add feature bool injection
1 parent a942e9f commit 32c2804

File tree

2 files changed

+197
-6
lines changed

2 files changed

+197
-6
lines changed

include/nbl/video/SPhysicalDeviceFeatures.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ struct SPhysicalDeviceFeatures
212212
/* Vulkan Extensions */
213213

214214
/* RasterizationOrderAttachmentAccessFeaturesARM *//* VK_ARM_rasterization_order_attachment_access */
215-
bool rasterizationOrderColorAttachmentAccess;
216-
bool rasterizationOrderDepthAttachmentAccess;
217-
bool rasterizationOrderStencilAttachmentAccess;
215+
bool rasterizationOrderColorAttachmentAccess = false;
216+
bool rasterizationOrderDepthAttachmentAccess = false;
217+
bool rasterizationOrderStencilAttachmentAccess = false;
218218

219219
// [DO NOT EXPOSE] Enables certain formats in Vulkan, we just enable them if available or else we need to make format support query functions in LogicalDevice as well
220220
/* 4444FormatsFeaturesEXT *//* VK_EXT_4444_formats */
@@ -421,7 +421,7 @@ struct SPhysicalDeviceFeatures
421421
bool rayTracingMotionBlurPipelineTraceRaysIndirect = false;
422422

423423
/* CoverageReductionModeFeaturesNV *//* VK_NV_coverage_reduction_mode */
424-
bool coverageReductionMode;
424+
bool coverageReductionMode = false;
425425

426426
/* DeviceGeneratedCommandsFeaturesNV *//* VK_NV_device_generated_commands */
427427
bool deviceGeneratedCommands = false;

0 commit comments

Comments
 (0)