glsl: make uniform values helper available for use elsewhere
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:

committed by
Timothy Arceri

parent
bb16cf805d
commit
49f3439089
@@ -45,7 +45,7 @@
|
|||||||
/**
|
/**
|
||||||
* Count the backing storage requirements for a type
|
* Count the backing storage requirements for a type
|
||||||
*/
|
*/
|
||||||
static unsigned
|
unsigned
|
||||||
values_for_type(const glsl_type *type)
|
values_for_type(const glsl_type *type)
|
||||||
{
|
{
|
||||||
if (type->is_sampler()) {
|
if (type->is_sampler()) {
|
||||||
|
@@ -76,6 +76,9 @@ void
|
|||||||
validate_interstage_uniform_blocks(struct gl_shader_program *prog,
|
validate_interstage_uniform_blocks(struct gl_shader_program *prog,
|
||||||
gl_linked_shader **stages);
|
gl_linked_shader **stages);
|
||||||
|
|
||||||
|
unsigned
|
||||||
|
values_for_type(const glsl_type *type);
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
link_assign_atomic_counter_resources(struct gl_context *ctx,
|
link_assign_atomic_counter_resources(struct gl_context *ctx,
|
||||||
struct gl_shader_program *prog);
|
struct gl_shader_program *prog);
|
||||||
|
Reference in New Issue
Block a user