diff options
author | Tapani Pälli <[email protected]> | 2014-05-05 07:55:34 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2014-06-16 06:49:59 +0300 |
commit | bfe42ddd99e8702e2daf14238966069fd25b6d0e (patch) | |
tree | b82d5529f1d94787bdbd0f584fabcc4ac35b8e7d /src/glsl/link_uniforms.cpp | |
parent | d1a64aad16c27ca40b3568b38156f6cced98f2fb (diff) |
mesa: add new enum MAX_UNIFORM_LOCATIONS
Patch adds new implementation dependent value required by the
GL_ARB_explicit_uniform_location extension. Default value for user
assignable locations is calculated as sum of MaxUniformComponents
for each stage.
v2: fix descriptor in get_hash_params.py (Petri)
v3: simpler formula for calculating initial value (Ian)
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/link_uniforms.cpp')
0 files changed, 0 insertions, 0 deletions