f76ceddc984f1e4e58aac518c72b10f8e7e46dd8
On some platforms `VK_FORMAT_R8G8B8_*` are not supported as vertex buffers. The obvious workaround for this is to use `VK_FORMAT_R8G8B8A8_*`. Using unsupported vertex formats would crash Blender as it is not able to compile the graphics pipelines that use them. Known platforms are: - NVIDIA Mobile GPUs (Quadro M1000M) - AMD Polaris (open source drivers) This PR adds the initial workings for other unsupported vertex buffer formats we need to fix in the future. `VKDevice.workarounds.vertex_formats` contain booleans if the workaround for a specific format should be turned on (`r8g8b8 = true`). `VertexFormatConverter` can be used to identify if conversions are needed and perform the conversion. Pull Request: https://projects.blender.org/blender/blender/pulls/114572
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
