diff options
author | Tapani Pälli <[email protected]> | 2015-03-10 13:11:14 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-04-16 07:55:57 +0300 |
commit | 2ab8de2181988870a95de23aeb906df5678e1e90 (patch) | |
tree | 277c48bd24233d7fc96123ded05d6d4b21b0a65a /src/mapi | |
parent | 9367ade331e5d0a7724c595e7afb0322caaaddf7 (diff) |
mesa: implementation of glGetProgramResourceiv
Patch adds required helper functions to shaderapi.h and
the actual implementation.
The property query functionality can be tested with tests for
following functions that are refactored by later patches:
GetActiveAtomicCounterBufferiv
GetActiveUniformBlockiv
GetActiveUniformsiv
v2: code cleanup (Ilia Mirkin)
add bufSize < 0 check and error out
fix is_resource_referenced to return bool
check for propCount and bufSize, fixes in buffer_prop
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions