mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-25 03:58:19 +02:00
This change introduces a new field in gl_uniform_storage to explicitely say that a uniform is built-in. In the case where it is, no storage is defined to make it clear that it is read-only from the mesa side. I fixed all the places in the code that made use of the structure that I changed. Any place making a wrong assumption and using the storage straight away will just crash. This patch seems to implement the path of least resistance towards listing built-in uniforms in GL_ACTIVE_UNIFORM (and other APIs). Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: Martin Peres <martin.peres@linux.intel.com> |
||
|---|---|---|
| .. | ||
| lower_jumps | ||
| .gitignore | ||
| blob_test.c | ||
| builtin_variable_test.cpp | ||
| common.c | ||
| compare_ir | ||
| copy_constant_to_storage_tests.cpp | ||
| general_ir_test.cpp | ||
| invalidate_locations_test.cpp | ||
| optimization-test | ||
| sampler_types_test.cpp | ||
| set_uniform_initializer_tests.cpp | ||
| sexps.py | ||
| uniform_initializer_utils.cpp | ||
| uniform_initializer_utils.h | ||
| varyings_test.cpp | ||