mesa: don't include compute resources in MAX_COMBINED_* limits
authorMarek Olšák <marek.olsak@amd.com>
Mon, 6 Aug 2018 12:32:23 +0000 (08:32 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 23 Aug 2018 20:56:17 +0000 (16:56 -0400)
commit45f87a48f94148b484961f18a4f1ccf86f066b1c
treeeb868d35291924899140df37386b6d0f0193393d
parent095515e16ca3cb2c9f1813b6602ee57ae28325a8
mesa: don't include compute resources in MAX_COMBINED_* limits

5 is the maximum number of shader stages that can be used by 1 execution
call at the same time (e.g. a draw call). The limit ensures that each
stage can use all of its binding points.

Compute is separate and doesn't need the 5x multiplier.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/mesa/main/config.h