i965: Assert on the number of combined UBO and SSBO binding table entries
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 30 Sep 2015 08:24:11 +0000 (10:24 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 5 Oct 2015 06:19:34 +0000 (08:19 +0200)
commit102f6c446b6585b00e1c1cd3c838f7b0899e49a9
tree021352a240997564dc1c9643c055d5e6cfdcce31
parent20cbe3688aec2fd371fea096e6a0de0a38c2ae70
i965: Assert on the number of combined UBO and SSBO binding table entries

In theory we can't break this assertion since the compiler frontend checks
that we don't exceed any of the individual limits, but it does not hurt to
be extra safe.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_shader.cpp