mesa: do not use a constant for MAX_COMPUTE_SHARED_SIZE
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 17 Jan 2016 16:33:59 +0000 (17:33 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 13 Feb 2016 14:51:17 +0000 (15:51 +0100)
commitbe27f772e8b97031bf5177523a74ff8738d5adee
tree11a725d68d057cd6c44ee52cce7e37006e49cd0e
parentf2547883cfcc7c7629e09cb38c162ad7f5d77611
mesa: do not use a constant for MAX_COMPUTE_SHARED_SIZE

This will allow to query the underlying drivers for the maximum
total storage size of all variables declared as <shared> with
PIPE_COMPUTE_CAP_MAX_LOCAL_SIZE.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/compiler/glsl/main.cpp
src/mesa/main/config.h
src/mesa/main/get_hash_params.py
src/mesa/main/mtypes.h