Files
test2/source/blender/gpu/vulkan
Jeroen Bakker 823de4b3b8 Vulkan: Add support for colored particle hair
When using particle hair the optional generated color buffer was bound
as a texture (texel buffer), however in Vulkan texel buffers aren't
textures but buffers.

This change will create a texture, that will pass the needed calls to
the source vertex buffer. Only particle hair does uses
`GPU_texture_create_from_vertbuf`. I would expect that we will phase
this out eventually when particle hair is removed.

This fixes crashes with scenes using particle hair where materials use color
or uv attributes.
![image](/attachments/d5511eee-4db0-4241-bf00-472834c4ca7b)

Pull Request: https://projects.blender.org/blender/blender/pulls/124854
2024-07-17 13:32:06 +02:00
..
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2024-06-20 11:34:19 +02:00
2023-09-19 11:52:59 +02:00
2024-06-20 11:34:19 +02:00
2024-07-04 13:47:54 +02:00
2024-06-20 11:34:19 +02:00
2023-11-14 11:12:19 +01:00
2023-11-14 11:12:19 +01:00
2023-11-14 11:12:19 +01:00
2024-01-01 00:43:09 +13:00
2024-06-20 11:34:19 +02:00