i965: make room in the binding table for a full alternate set of surface_states
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 15 Sep 2013 06:11:37 +0000 (18:11 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Wed, 2 Oct 2013 18:56:26 +0000 (07:56 +1300)
commit5901d48b4161ff64d5708e4e13122fce5ed4d0bf
tree391034447893d7275c3b8bfe23b5e9e21b349150
parent855b2a8f4a2ef9151f7710e651bbcdadb4c6ea99
i965: make room in the binding table for a full alternate set of surface_states

Worst-case is that *every* texunit uses a format that needs overriding.

V4: Place the gather slots last, so shaders which don't use gather don't
    get penalized by having a huge binding table.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h