broadcom/vc5: Clamp the instance divisor to 16 bits.
authorEric Anholt <eric@anholt.net>
Tue, 20 Mar 2018 17:00:21 +0000 (10:00 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 21 Mar 2018 17:04:21 +0000 (10:04 -0700)
commitba87d85b043bf4beecae1afda22ea42b217df2b8
tree76d4798c124baf12a57b3ac293c1b76aab3ed85d
parent3dd92184d598e2dc9c7b0934796842f5c3745337
broadcom/vc5: Clamp the instance divisor to 16 bits.

Fixes debug assert on
GTF-GLES3.gtf.GL3Tests.instanced_arrays.instanced_arrays_divisor

Signed-off-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/vc5/vc5_state.c