diff options
author | Tapani Pälli <[email protected]> | 2015-08-03 10:46:33 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-08-13 12:55:17 +0300 |
commit | 24695f4b2738d930a2bc71b4ebc9e5d993980cae (patch) | |
tree | b5d23646e05f7720042ce67d69a5ceedd16ce757 /src/mesa/main/context.c | |
parent | 86a72ee48eb371566765566fc778d790bc9ce201 (diff) |
mesa: fix name returned for XFB varyings
_mesa_get_program_resource_name has logic to append '[0]' in name
if variable is an array, this should be skipped for XFB varyings
that have array index already appended.
v2: fix comment, change also GL_NAME_LENGTH query to match
the behaviour
Fixes:
ES31-CTS.program_interface_query.transform-feedback-types
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
0 files changed, 0 insertions, 0 deletions