File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -35,25 +35,25 @@ struct VkAccelerationStructureInfo
35
35
{
36
36
struct Triangles
37
37
{
38
- VkFormat vertexFormat;
39
- VkDeviceSize vertexStride;
40
- uint32_t maxVertex;
41
- VkIndexType indexType;
38
+ VkFormat vertexFormat = VK_FORMAT_UNDEFINED ;
39
+ VkDeviceSize vertexStride = 0 ;
40
+ uint32_t maxVertex = 0 ;
41
+ VkIndexType indexType = VK_INDEX_TYPE_NONE_KHR ;
42
42
};
43
43
44
44
struct Aabbs
45
45
{
46
- VkDeviceSize stride;
46
+ VkDeviceSize stride = 0 ;
47
47
};
48
48
49
49
VkGeometryTypeKHR geometryType = VK_GEOMETRY_TYPE_TRIANGLES_KHR;
50
- VkGeometryFlagsKHR flags;
50
+ VkGeometryFlagsKHR flags = 0 ;
51
51
52
52
Triangles tris;
53
53
Aabbs aabbs;
54
54
55
- VkAccelerationStructureBuildRangeInfoKHR buildRangeInfo;
56
- VkDeviceSize memOffset;
55
+ VkAccelerationStructureBuildRangeInfoKHR buildRangeInfo = {} ;
56
+ VkDeviceSize memOffset = 0 ;
57
57
};
58
58
59
59
~VkAccelerationStructureInfo ();
You can’t perform that action at this time.
0 commit comments