mesa/main/ff_frag: Reduce the size of nr_enabled_units.
authorGustaw Smolarczyk <wielkiegie@gmail.com>
Thu, 30 Mar 2017 18:09:22 +0000 (20:09 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 8 Apr 2017 18:29:58 +0000 (20:29 +0200)
commitceb5ba9d1dd3c8d9d31fd57e97f500b4a78ff7c6
tree07918d6e8baf2f5ae910279499b7443b4c4223bb
parent439eca951f7d4e58caa76e9f89d57733a6dfa470
mesa/main/ff_frag: Reduce the size of nr_enabled_units.

Since it holds values from 0 to 8, 4 bits will suffice.

Signed-off-by: Gustaw Smolarczyk <wielkiegie@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/ff_fragment_shader.cpp