mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
agx: fix atomics in tess count shaders
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32081>
This commit is contained in:
parent
2c7635ab63
commit
ddc6d9e984
1 changed files with 2 additions and 0 deletions
|
|
@ -1274,6 +1274,8 @@ libagx_tess_quad(constant struct libagx_tess_args *p,
|
|||
DefineClockwiseTriangle(&ctx, 1, 2, 3, /*indexStorageOffset*/ 3);
|
||||
} else {
|
||||
libagx_draw_points(&ctx, p, patch, 4);
|
||||
if (mode == LIBAGX_TESS_MODE_COUNT)
|
||||
return;
|
||||
}
|
||||
|
||||
global struct libagx_tess_point *points =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue