Blender V5.0
blender::gpu::VKWorkarounds Struct Reference

#include <vk_device.hh>

Public Attributes

bool not_aligned_pixel_formats = false
struct { 
   bool   r8g8b8 = false 
vertex_formats

Detailed Description

Definition at line 94 of file vk_device.hh.

Member Data Documentation

◆ not_aligned_pixel_formats

bool blender::gpu::VKWorkarounds::not_aligned_pixel_formats = false

Some devices don't support pixel formats that are aligned to 24 and 48 bits. In this case we need to use a different texture format.

If set to true we should work around this issue by using a different texture format.

Definition at line 101 of file vk_device.hh.

◆ r8g8b8

bool blender::gpu::VKWorkarounds::r8g8b8 = false

Is the workaround enabled for devices that don't support using VK_FORMAT_R8G8B8_* as vertex buffer.

Definition at line 108 of file vk_device.hh.

◆ [struct]

struct { ... } blender::gpu::VKWorkarounds::vertex_formats

The documentation for this struct was generated from the following file: