diff options
author | Tapani Pälli <[email protected]> | 2015-03-06 09:14:49 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-04-16 07:55:35 +0300 |
commit | c796ce4108ccc4987c24df43606d04a0f3658d44 (patch) | |
tree | e2ea14537b96e6bfbf2244b5c9946fa89ccc9437 /common.py | |
parent | b297fc27aa93c4af4cf8ecf9702fd0b95d2c4f9a (diff) |
mesa/glsl: build list of program resources during linking
Patch adds ProgramResourceList to gl_shader_program structure.
List contains references to active program resources and is
constructed during linking phase.
This list will be used by follow-up patches to implement hooks
for GL_ARB_program_interface_query. It can be also used to
implement any of the older shader program query APIs.
v2: code cleanups + note for SSBO and subroutines (Ilia Mirkin)
v3: code cleanups + assert(MESA_SHADER_STAGES < 8) (Martin Peres)
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions