|
Blender V5.3
|
#include <vk_device.hh>
Public Member Functions | |
| void | log () const |
Public Attributes | |
| bool | not_aligned_pixel_formats = false |
| bool | static_viewport_scissor = false |
| bool | missing_srgb_clear_conversion = false |
Definition at line 130 of file vk_device.hh.
| void blender::gpu::VKWorkarounds::log | ( | ) | const |
Log enabled workarounds.
Definition at line 85 of file vk_device.cc.
References CLOG_DEBUG, blender::gpu::GCaps, blender::LOG, missing_srgb_clear_conversion, not_aligned_pixel_formats, static_viewport_scissor, and blender::gpu::GPUCapabilities::texture_pool_workaround.
| bool blender::gpu::VKWorkarounds::missing_srgb_clear_conversion = false |
Legacy AMD drivers do not perform sRGB conversions when clearing attachments.
Definition at line 151 of file vk_device.hh.
Referenced by log().
| 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 137 of file vk_device.hh.
Referenced by log().
| bool blender::gpu::VKWorkarounds::static_viewport_scissor = false |
Some Qualcomm drivers keep command-buffer-local state written by vkCmdSetViewport across command buffer resets.
When set, viewports and scissors are baked into the pipeline as static state and vkCmdSetViewport/vkCmdSetScissor are never used.
Definition at line 146 of file vk_device.hh.
Referenced by blender::gpu::VKShader::ensure_and_get_graphics_pipeline(), blender::gpu::VKShader::ensure_graphics_pipelines(), log(), and blender::gpu::render_graph::VKCommandBufferWrapper::VKCommandBufferWrapper().