C Specification

If a VkAccelerationStructureDenseGeometryFormatTrianglesDataAMDX structure is included in the pNext chain of a VkAccelerationStructureGeometryKHR structure whose geometryType member is VK_GEOMETRY_TYPE_DENSE_GEOMETRY_FORMAT_TRIANGLES_AMDX, then that structure defines triangle geometry using compressed data.

The VkAccelerationStructureDenseGeometryFormatTrianglesDataAMDX structure is defined as:

// Provided by VK_AMDX_dense_geometry_format
typedef struct VkAccelerationStructureDenseGeometryFormatTrianglesDataAMDX {
    VkStructureType                   sType;
    const void*                       pNext;
    VkDeviceOrHostAddressConstKHR     compressedData;
    VkDeviceSize                      dataSize;
    uint32_t                          numTriangles;
    uint32_t                          numVertices;
    uint32_t                          maxPrimitiveIndex;
    uint32_t                          maxGeometryIndex;
    VkCompressedTriangleFormatAMDX    format;
} VkAccelerationStructureDenseGeometryFormatTrianglesDataAMDX;

Members

  • sType is a VkStructureType value identifying this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • compressedData specifies the base address of the compressed data.

  • dataSize specifies the size of the compressed data.

  • numTriangles specifies the total number of triangles encoded in the compressed data.

  • numVertices specifies the number of vertices in the compressed data.

  • maxPrimitiveIndex specifies the maximum primitive index encoded in the compressed data.

  • maxGeometryIndex specifies the maximum geometry index encoded in the compressed data.

  • format specifies the VkCompressedTriangleFormatAMDX format of the compressed data.

Description

If format is VK_COMPRESSED_TRIANGLE_FORMAT_DGF1_AMDX, numVertices specifies the sum of vertex counts across all blocks.

Valid Usage
Valid Usage (Implicit)

See Also

Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0