st/mesa: setup hw atomic limits. (v1.1)
authorDave Airlie <airlied@redhat.com>
Wed, 1 Nov 2017 19:49:40 +0000 (05:49 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 9 Nov 2017 22:39:35 +0000 (08:39 +1000)
commit58d061ceef1a21b117852129850146820929b19c
tree2ec15dc333d7b0af9635eff058fdf47a95e889d2
parent9f1db21f287e76a9b36e0b240929aed4f59483e5
st/mesa: setup hw atomic limits. (v1.1)

HW atomics need to use caps to set some limits, and some
other limits may also need limiting.

This fixes things up to work for evergreen hw, it may need
more changes in the future if other hw wants to use this path.

v1.1: fix indent.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-By: Gert Wollny <gw.fossdev@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_extensions.c