glsl: reduce memory footprint of uniform_storage struct
authorTimothy Arceri <t_arceri@yahoo.com.au>
Wed, 30 Sep 2015 01:00:02 +0000 (11:00 +1000)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Sun, 4 Oct 2015 23:53:24 +0000 (10:53 +1100)
commit763cd8c080353482cb41da578cb3d6f7892a0c9f
treedff9ba9c0e6a4ebc0e706d578fe5313bc1cbda4f
parentb85757bc72350df609f50e000512bc80d07f1497
glsl: reduce memory footprint of uniform_storage struct

The uniform will only be of a single type so store the data for
opaque types in a single array.

Cc: Francisco Jerez <currojerez@riseup.net>
Cc: Ilia Mirkin <imirkin@alum.mit.edu>
src/glsl/ir_uniform.h
src/glsl/link_uniform_initializers.cpp
src/glsl/link_uniforms.cpp
src/glsl/linker.cpp
src/glsl/nir/nir_lower_samplers.c
src/glsl/tests/set_uniform_initializer_tests.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/main/shaderapi.c
src/mesa/main/uniform_query.cpp
src/mesa/program/ir_to_mesa.cpp
src/mesa/program/sampler.cpp