mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 11:08:24 +02:00
The gallium and vulkan drivers deal with vertex attribute emission differently. The gallium driver re-emits the VS attributes on each draw, while the vulkan driver uses explicit attribute/image descriptor dirtiness tracking, and could keep the attribute array around if a new pipeline using a different number of attribute is bound. If we want to be able to do that, we need to assign a fixed offset for image attributes, such that the Vulkan descriptor lowering pass knows where the images are in the attribute table. We could teach the Bifrost backend how to deal with a custom offset but it doing that in a lowering pass also simplifies the Midgard code. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28200> |
||
|---|---|---|
| .. | ||
| lcra.c | ||
| lcra.h | ||
| meson.build | ||
| pan_collect_varyings.c | ||
| pan_ir.c | ||
| pan_ir.h | ||
| pan_liveness.c | ||
| pan_lower_framebuffer.c | ||
| pan_lower_framebuffer.h | ||
| pan_lower_helper_invocation.c | ||
| pan_lower_image_index.c | ||
| pan_lower_image_ms.c | ||
| pan_lower_sample_position.c | ||
| pan_lower_store_component.c | ||
| pan_lower_writeout.c | ||
| pan_lower_xfb.c | ||