svga: clamp max_const_buffers to SVGA_MAX_CONST_BUFS
authorBrian Paul <brianp@vmware.com>
Mon, 20 May 2019 12:24:06 +0000 (06:24 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 29 May 2019 19:59:23 +0000 (13:59 -0600)
commitc71ca65405e677ac65d176cd4d6138923df6cd56
tree3bde91c431a6e4716c4f9dd586d5ea4378d4dbb6
parent6892d2b94a546ec35c259b98a014107d83986227
svga: clamp max_const_buffers to SVGA_MAX_CONST_BUFS

In case the device reports 15 (or more) buffers.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_screen.c