mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
libagx: simplify tcs out calc
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
parent
9cfffc5e86
commit
8d95f584da
1 changed files with 2 additions and 2 deletions
|
|
@ -274,8 +274,8 @@ static inline uint
|
|||
libagx_tcs_out_stride(uint nr_patch_out, uint out_patch_size,
|
||||
uint64_t vtx_out_mask)
|
||||
{
|
||||
return libagx_tcs_out_offs(out_patch_size, VARYING_SLOT_VAR0, nr_patch_out,
|
||||
out_patch_size, vtx_out_mask);
|
||||
return libagx_tcs_out_offs(out_patch_size, 0, nr_patch_out, out_patch_size,
|
||||
vtx_out_mask);
|
||||
}
|
||||
|
||||
/* In a tess eval shader, stride for hw vertex ID */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue