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:
committed by
Marge Bot
parent
2c7635ab63
commit
ddc6d9e984
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user