glsl: make uniform values helper available for use elsewhere

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Timothy Arceri
2016-04-13 15:42:04 +10:00
committed by Timothy Arceri
parent bb16cf805d
commit 49f3439089
2 changed files with 4 additions and 1 deletions

View File

@@ -45,7 +45,7 @@
/**
* Count the backing storage requirements for a type
*/
static unsigned
unsigned
values_for_type(const glsl_type *type)
{
if (type->is_sampler()) {