mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 03:10:09 +01:00
libagx: drop unused arg
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
8d95f584da
commit
673f56fcb1
2 changed files with 4 additions and 5 deletions
|
|
@ -248,7 +248,7 @@ libagx_tcs_in_size(uint32_t vertices_in_patch, uint64_t crosslane_vs_out_mask)
|
|||
*/
|
||||
static inline uint
|
||||
libagx_tcs_out_offs(uint vtx_id, gl_varying_slot location, uint nr_patch_out,
|
||||
uint out_patch_size, uint64_t vtx_out_mask)
|
||||
uint64_t vtx_out_mask)
|
||||
{
|
||||
uint off = 0;
|
||||
if (location == VARYING_SLOT_TESS_LEVEL_OUTER)
|
||||
|
|
@ -274,8 +274,7 @@ 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, 0, nr_patch_out, out_patch_size,
|
||||
vtx_out_mask);
|
||||
return libagx_tcs_out_offs(out_patch_size, 0, nr_patch_out, vtx_out_mask);
|
||||
}
|
||||
|
||||
/* In a tess eval shader, stride for hw vertex ID */
|
||||
|
|
|
|||
|
|
@ -62,8 +62,8 @@ libagx_tcs_out_address(constant struct libagx_tess_args *p, uint patch_id,
|
|||
uint stride =
|
||||
libagx_tcs_out_stride(nr_patch_out, out_patch_size, vtx_out_mask);
|
||||
|
||||
uint offs = libagx_tcs_out_offs(vtx_id, location, nr_patch_out,
|
||||
out_patch_size, vtx_out_mask);
|
||||
uint offs =
|
||||
libagx_tcs_out_offs(vtx_id, location, nr_patch_out, vtx_out_mask);
|
||||
|
||||
return (uintptr_t)(p->tcs_buffer) + (patch_id * stride) + offs;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue