diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanImageViewCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanImageViewCreateFlag.java index 26d9aa4..12ce4a4 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanImageViewCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanImageViewCreateFlag.java @@ -25,13 +25,22 @@ public enum VulkanImageViewCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_IMAGE_VIEW_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanImageViewCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanLogicalDeviceCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanLogicalDeviceCreateFlag.java index 3bde546..42338d7 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanLogicalDeviceCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanLogicalDeviceCreateFlag.java @@ -25,13 +25,22 @@ public enum VulkanLogicalDeviceCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_VULKAN_LOGICAL_DEVICE_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanLogicalDeviceCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineColorBlendStateCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineColorBlendStateCreateFlag.java index 5056213..1fa7c7a 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineColorBlendStateCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineColorBlendStateCreateFlag.java @@ -23,13 +23,22 @@ public enum VulkanPipelineColorBlendStateCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_VULKAN_PIPELINE_COLOR_BLEND_STATE_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanPipelineColorBlendStateCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineDepthStencilStateCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineDepthStencilStateCreateFlag.java index ff57b11..86b4960 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineDepthStencilStateCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineDepthStencilStateCreateFlag.java @@ -25,13 +25,22 @@ public enum VulkanPipelineDepthStencilStateCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_PIPELINE_DEPTH_STENCIL_STATE_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanPipelineDepthStencilStateCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineDynamicStateCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineDynamicStateCreateFlag.java index df5f366..e4deda5 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineDynamicStateCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineDynamicStateCreateFlag.java @@ -25,13 +25,22 @@ public enum VulkanPipelineDynamicStateCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_PIPELINE_DYNAMIC_STATE_CREATE_FLAG(0x0); + + private final int value; + + VulkanPipelineDynamicStateCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineInputAssemblyStateCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineInputAssemblyStateCreateFlag.java index 832744a..79c2b8b 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineInputAssemblyStateCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineInputAssemblyStateCreateFlag.java @@ -23,13 +23,22 @@ public enum VulkanPipelineInputAssemblyStateCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_VULKAN_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_FLAG(0x0); + + private final int value; + + VulkanPipelineInputAssemblyStateCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineLayoutCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineLayoutCreateFlag.java index 340b04c..ebf6a25 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineLayoutCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineLayoutCreateFlag.java @@ -23,13 +23,22 @@ public enum VulkanPipelineLayoutCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_PIPELINE_LAYOUT_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanPipelineLayoutCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineMultisampleStateCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineMultisampleStateCreateFlag.java index 0b6fa17..c036bfa 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineMultisampleStateCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineMultisampleStateCreateFlag.java @@ -25,13 +25,22 @@ public enum VulkanPipelineMultisampleStateCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_PIPELINE_MULTISAMPLE_STATE_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanPipelineMultisampleStateCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineRasterizationStateCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineRasterizationStateCreateFlag.java index 2114707..f61d599 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineRasterizationStateCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineRasterizationStateCreateFlag.java @@ -23,13 +23,22 @@ public enum VulkanPipelineRasterizationStateCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_PIPELINE_RASTERIZATION_STATE_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanPipelineRasterizationStateCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineShaderStageCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineShaderStageCreateFlag.java index 1137f4c..33bfbe2 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineShaderStageCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineShaderStageCreateFlag.java @@ -25,13 +25,22 @@ public enum VulkanPipelineShaderStageCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_PIPELINE_SHADER_STAGE_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanPipelineShaderStageCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineTessellationStageCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineTessellationStageCreateFlag.java index 0321689..03311bd 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineTessellationStageCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineTessellationStageCreateFlag.java @@ -25,13 +25,22 @@ public enum VulkanPipelineTessellationStageCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_VULKAN_PIPELINE_TESSELLATION_STAGE_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanPipelineTessellationStageCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineVertexInputStateCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineVertexInputStateCreateFlag.java index 0c8ab7c..57c909a 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineVertexInputStateCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineVertexInputStateCreateFlag.java @@ -25,13 +25,22 @@ public enum VulkanPipelineVertexInputStateCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_PIPELINE_VERTEX_INPUT_STATE_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanPipelineVertexInputStateCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineViewportStateCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineViewportStateCreateFlag.java index bedf710..d8633c7 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineViewportStateCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanPipelineViewportStateCreateFlag.java @@ -23,13 +23,22 @@ public enum VulkanPipelineViewportStateCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_PIPELINE_VIEWPORT_STATE_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanPipelineViewportStateCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanRenderPassCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanRenderPassCreateFlag.java index 3d793ae..4315993 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanRenderPassCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanRenderPassCreateFlag.java @@ -23,13 +23,22 @@ public enum VulkanRenderPassCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_RENDER_PASS_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanRenderPassCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanShaderModuleCreateFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanShaderModuleCreateFlag.java index 022d854..78cac5f 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanShaderModuleCreateFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanShaderModuleCreateFlag.java @@ -25,13 +25,22 @@ public enum VulkanShaderModuleCreateFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_VULKAN_SHADER_MODULE_CREATE_FLAG_NONE(0x0); + + private final int value; + + VulkanShaderModuleCreateFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanSubpassDescriptionFlag.java b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanSubpassDescriptionFlag.java index 5cce310..5f88f0f 100644 --- a/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanSubpassDescriptionFlag.java +++ b/com.io7m.jcoronado.api/src/main/java/com/io7m/jcoronado/api/VulkanSubpassDescriptionFlag.java @@ -25,13 +25,22 @@ public enum VulkanSubpassDescriptionFlag implements VulkanEnumBitmaskType { - // CHECKSTYLE:OFF - ; - // CHECKSTYLE:ON + /** + * No flags set. + */ + + VK_SUBPASS_DESCRIPTION_FLAG_NONE(0x0); + + private final int value; + + VulkanSubpassDescriptionFlag(final int i) + { + this.value = i; + } @Override public int value() { - return 0; + return this.value; } } diff --git a/com.io7m.jcoronado.tests/src/test/java/com/io7m/jcoronado/tests/api/VulkanEqualsTest.java b/com.io7m.jcoronado.tests/src/test/java/com/io7m/jcoronado/tests/api/VulkanEqualsTest.java new file mode 100644 index 0000000..b2b3e29 --- /dev/null +++ b/com.io7m.jcoronado.tests/src/test/java/com/io7m/jcoronado/tests/api/VulkanEqualsTest.java @@ -0,0 +1,315 @@ +/* + * Copyright © 2018 Mark Raynsford http://io7m.com + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR + * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +package com.io7m.jcoronado.tests.api; + +import com.io7m.jcoronado.api.VulkanApplicationInfo; +import com.io7m.jcoronado.api.VulkanAttachmentDescription; +import com.io7m.jcoronado.api.VulkanAttachmentReference; +import com.io7m.jcoronado.api.VulkanBlendConstants; +import com.io7m.jcoronado.api.VulkanExtensionProperties; +import com.io7m.jcoronado.api.VulkanExtent2D; +import com.io7m.jcoronado.api.VulkanExtent3D; +import com.io7m.jcoronado.api.VulkanGraphicsPipelineCreateInfo; +import com.io7m.jcoronado.api.VulkanImageSubresourceRange; +import com.io7m.jcoronado.api.VulkanImageViewCreateInfo; +import com.io7m.jcoronado.api.VulkanInstanceCreateInfo; +import com.io7m.jcoronado.api.VulkanLayerProperties; +import com.io7m.jcoronado.api.VulkanLineWidthRange; +import com.io7m.jcoronado.api.VulkanLogicalDeviceCreateInfo; +import com.io7m.jcoronado.api.VulkanLogicalDeviceQueueCreateInfo; +import com.io7m.jcoronado.api.VulkanMemoryHeap; +import com.io7m.jcoronado.api.VulkanMemoryType; +import com.io7m.jcoronado.api.VulkanOffset2D; +import com.io7m.jcoronado.api.VulkanOffset3D; +import com.io7m.jcoronado.api.VulkanPhysicalDeviceFeatures; +import com.io7m.jcoronado.api.VulkanPhysicalDeviceLimits; +import com.io7m.jcoronado.api.VulkanPhysicalDeviceMemoryProperties; +import com.io7m.jcoronado.api.VulkanPhysicalDeviceProperties; +import com.io7m.jcoronado.api.VulkanPipelineColorBlendAttachmentState; +import com.io7m.jcoronado.api.VulkanPipelineColorBlendStateCreateInfo; +import com.io7m.jcoronado.api.VulkanPipelineDepthStencilStateCreateInfo; +import nl.jqno.equalsverifier.EqualsVerifier; +import org.junit.jupiter.api.Test; + +public final class VulkanEqualsTest +{ + @Test + public void testApplicationInfo() + { + EqualsVerifier.forClass(VulkanApplicationInfo.class) + .withNonnullFields( + "applicationName", + "engineName") + .verify(); + } + + @Test + public void testAttachmentDescription() + { + EqualsVerifier.forClass(VulkanAttachmentDescription.class) + .withNonnullFields( + "flags", + "format", + "samples", + "loadOp", + "storeOp", + "stencilLoadOp", + "stencilStoreOp", + "finalLayout", + "initialLayout") + .verify(); + } + + @Test + public void testAttachmentReference() + { + EqualsVerifier.forClass(VulkanAttachmentReference.class) + .withNonnullFields("layout") + .verify(); + } + + @Test + public void testBlendConstants() + { + EqualsVerifier.forClass(VulkanBlendConstants.class) + .verify(); + } + + @Test + public void testExtensionProperties() + { + EqualsVerifier.forClass(VulkanExtensionProperties.class) + .withNonnullFields("name") + .verify(); + } + + @Test + public void testExtent2D() + { + EqualsVerifier.forClass(VulkanExtent2D.class) + .verify(); + } + + @Test + public void testExtent3D() + { + EqualsVerifier.forClass(VulkanExtent3D.class) + .verify(); + } + + @Test + public void testGraphicsPipelineCreateInfo() + { + EqualsVerifier.forClass(VulkanGraphicsPipelineCreateInfo.class) + .withNonnullFields( + "flags", + "stages", + "layout", + "renderPass", + "rasterizationState", + "inputAssemblyState", + "vertexInputState") + .verify(); + } + + @Test + public void testImageSubresourceRange() + { + EqualsVerifier.forClass(VulkanImageSubresourceRange.class) + .withNonnullFields("flags") + .verify(); + } + + @Test + public void testImageViewCreateInfo() + { + EqualsVerifier.forClass(VulkanImageViewCreateInfo.class) + .withNonnullFields( + "components", + "subresourceRange", + "flags", + "image", + "viewType", + "format") + .verify(); + } + + @Test + public void testInstanceCreateInfo() + { + EqualsVerifier.forClass(VulkanInstanceCreateInfo.class) + .withNonnullFields( + "applicationInfo", + "enabledExtensions", + "enabledLayers") + .verify(); + } + + @Test + public void testLayerProperties() + { + EqualsVerifier.forClass(VulkanLayerProperties.class) + .withNonnullFields( + "name", + "description") + .verify(); + } + + @Test + public void testLineWidthRange() + { + EqualsVerifier.forClass(VulkanLineWidthRange.class) + .verify(); + } + + @Test + public void testLogicalDeviceCreateInfo() + { + EqualsVerifier.forClass(VulkanLogicalDeviceCreateInfo.class) + .withNonnullFields( + "flags", + "queueCreateInfos", + "enabledLayers", + "enabledExtensions", + "features") + .verify(); + } + + @Test + public void testLogicalDeviceQueueCreateInfo() + { + EqualsVerifier.forClass(VulkanLogicalDeviceQueueCreateInfo.class) + .withNonnullFields( + "flags", + "queuePriorities") + .verify(); + } + + @Test + public void testMemoryHeapType() + { + EqualsVerifier.forClass(VulkanMemoryHeap.class) + .withNonnullFields( + "flags") + .verify(); + } + + @Test + public void testMemoryType() + { + EqualsVerifier.forClass(VulkanMemoryType.class) + .withNonnullFields( + "flags") + .verify(); + } + + @Test + public void testOffset2D() + { + EqualsVerifier.forClass(VulkanOffset2D.class) + .verify(); + } + + @Test + public void testOffset3D() + { + EqualsVerifier.forClass(VulkanOffset3D.class) + .verify(); + } + + @Test + public void testPhysicalDeviceFeatures() + { + EqualsVerifier.forClass(VulkanPhysicalDeviceFeatures.class) + .verify(); + } + + @Test + public void testPhysicalDeviceLimits() + { + EqualsVerifier.forClass(VulkanPhysicalDeviceLimits.class) + .withNonnullFields( + "lineWidthRange", + "maxComputeWorkGroupCount", + "maxComputeWorkGroupSize", + "maxViewportDimensions", + "viewportBoundsRange", + "pointSizeRange") + .verify(); + } + + @Test + public void testPhysicalDeviceMemoryProperties() + { + EqualsVerifier.forClass(VulkanPhysicalDeviceMemoryProperties.class) + .withNonnullFields( + "heaps", + "types") + .verify(); + } + + @Test + public void testPhysicalDeviceProperties() + { + EqualsVerifier.forClass(VulkanPhysicalDeviceProperties.class) + .withNonnullFields( + "name", + "type", + "apiVersion", + "driverVersion") + .verify(); + } + + @Test + public void testPipelineColorBlendAttachmentState() + { + EqualsVerifier.forClass(VulkanPipelineColorBlendAttachmentState.class) + .withNonnullFields( + "colorWriteMask", + "srcColorBlendFactor", + "dstColorBlendFactor", + "srcAlphaBlendFactor", + "dstAlphaBlendFactor", + "alphaBlendOp", + "colorBlendOp") + .verify(); + } + + @Test + public void testPipelineColorBlendStateCreateInfo() + { + EqualsVerifier.forClass(VulkanPipelineColorBlendStateCreateInfo.class) + .withNonnullFields( + "logicOp", + "flags", + "attachments", + "blendConstants") + .verify(); + } + + @Test + public void testPipelineDepthStencilStateCreateInfo() + { + EqualsVerifier.forClass(VulkanPipelineDepthStencilStateCreateInfo.class) + .withNonnullFields( + "depthCompareOp", + "flags", + "front", + "back") + .verify(); + } +}