VK_IMG_relaxed_line_rasterization(3)

# VK_IMG_relaxed_line_rasterization(3) Manual Page

## Name

VK_IMG_relaxed_line_rasterization - device extension

## Registered Extension Number

111

## Revision

1

## Ratification Status

Not ratified

## Extension and Version Dependencies

VK_KHR_get_physical_device_properties2
or
Vulkan Version 1.1

## Special Use

- OpenGL / ES support

## Contact

- James Fitzpatrick [GitHub]jamesfitzpatrick

## Other Extension Metadata

Last Modified Date

  2023-10-22

IP Status

  No known IP claims.

Contributors

  - James Fitzpatrick, Imagination

  - Andrew Garrard, Imagination

  - Alex Walters, Imagination

## Description

OpenGL specifies that implementations should rasterize lines using the diamond exit rule (a slightly modified version of Bresenham’s algorithm). To implement OpenGL some implementations have a device-level compatibility mode to rasterize lines according to the OpenGL specification.

This extension allows OpenGL emulation layers to enable the OpenGL compatible line rasterization mode of such implementations.

## New Structures

- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:

  - VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG

## New Enum Constants

- `VK_IMG_RELAXED_LINE_RASTERIZATION_EXTENSION_NAME`

- `VK_IMG_RELAXED_LINE_RASTERIZATION_SPEC_VERSION`

- Extending VkStructureType:

  - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RELAXED_LINE_RASTERIZATION_FEATURES_IMG

## Issues

None.

## Version History

- Revision 1, 2023-10-22 (James Fitzpatrick)

  - Initial version

## See Also

No cross-references are available

## Document Notes

For more information, see the Vulkan Specification.

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0