Files
mesa/src
Sviatoslav Peleshko f03432c81a mesa,driconf: Add WA to initialize vertex program outputs to vec4(0,0,0,1)
Per ARB_vertex_program spec result registers are 4-component and initially
undefined, and the FF fragment program expects its intputs to be
4-component too. So, if the client's vertex program does not write the
whole vector it will cause misrenderings unless the same client also
supplies fragment program that expects less than 4 componens.

This commit adds a workaround that initializes results to vec4(0, 0, 0, 1)
which seems to be an expected behavior for such clients.

Cc: mesa-stable
Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38295>
2025-11-11 22:16:46 +00:00
..
2025-11-11 20:15:21 +00:00
2025-11-06 21:34:33 +00:00
2025-11-10 07:01:50 +10:00
2025-09-03 11:47:00 +00:00
2025-11-04 13:39:48 +00:00
2025-11-11 20:15:21 +00:00
2025-11-11 20:15:21 +00:00
2025-11-11 20:15:21 +00:00
2025-11-11 01:34:24 +00:00
2025-10-20 17:46:38 +00:00