mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 20:18:12 +02:00
llvmpipe: always set view_index for linear rasterizer
if this is unset, the view index is garbage and any shader accessing it will read garbage this is the source of all lavapipe flakes. cc: mesa-stable Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41369>
This commit is contained in:
parent
b6b13bf9df
commit
099933f004
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ shade_quads(struct lp_rasterizer_task *task,
|
|||
assert(!variant->key.depth.enabled);
|
||||
|
||||
/* Propagate non-interpolated raster state */
|
||||
task->thread_data.raster_state.view_index = inputs->view_index;
|
||||
task->thread_data.raster_state.viewport_index = inputs->viewport_index;
|
||||
|
||||
/* run shader on 4x4 block */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue