asahi: fix scissor arrays
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
This commit is contained in:
parent
6612532942
commit
dd787b7b43
1 changed files with 2 additions and 2 deletions
|
|
@ -1032,8 +1032,8 @@ agx_upload_viewport_scissor(struct agx_pool *pool, struct agx_batch *batch,
|
|||
|
||||
/* Upload each scissor */
|
||||
for (unsigned i = 0; i < count; ++i) {
|
||||
agx_get_scissor_extents(&vp[i], &ss[i], &batch->key, &minx[i], &miny[i],
|
||||
&maxx[i], &maxy[i]);
|
||||
agx_get_scissor_extents(&vp[i], ss ? &ss[i] : NULL, &batch->key, &minx[i],
|
||||
&miny[i], &maxx[i], &maxy[i]);
|
||||
assert(maxx[i] >= minx[i] && maxy[i] >= miny[i]);
|
||||
|
||||
float minz, maxz;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue