summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2013-05-24 16:39:59 -0400
committerZack Rusin <zackr@vmware.com>2013-05-25 09:49:20 -0400
commit4b5595b38b3884531624fab6def7c604e92d0914 (patch)
tree6f41585cff8e0cdd4243dae71cc296a50991ca04 /src/gallium/docs
parent97b8ae429ec64003e258764db12ea69d4e978f6d (diff)
downloadexternal_mesa3d-4b5595b38b3884531624fab6def7c604e92d0914.zip
external_mesa3d-4b5595b38b3884531624fab6def7c604e92d0914.tar.gz
external_mesa3d-4b5595b38b3884531624fab6def7c604e92d0914.tar.bz2
draw: fixup draw_find_shader_output
draw_find_shader_output like most of the code in draw used to depend on position always being at output slot 0. which meant that any other attribute being at 0 could signify an error. unfortunately position can be at any of the output slots, thus other attributes can occupy slot 0 and we need to mark the ones which were not found by something else. This commit changes draw_find_shader_output so that it returns -1 if it can't find the given attribute and adjust the code that depended on it returning >0 whenever it correctly found an attrib. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: José Fonseca<jfonseca@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/docs')
0 files changed, 0 insertions, 0 deletions