summaryrefslogtreecommitdiffstats
path: root/docs/COPYING
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2014-11-11 09:44:46 +0000
committerIan Romanick <[email protected]>2014-12-02 12:16:28 -0800
commit5e72886db0a170d8862f3fc5d8f546fa75b20b2b (patch)
tree8a8554540160452999b9f1dff6724fe55e3cd6af /docs/COPYING
parentb93dcb0e718a0a177370f2c7851223350d3b7bc7 (diff)
mesa: Refactor common validation code to validate_DrawElements_common
Most of the code in _mesa_validate_DrawElements, _mesa_validate_DrawRangeElements, and _mesa_validate_DrawElementsInstanced was the same. Refactor this out to common code. As a side-effect, a bug in _mesa_validate_DrawElementsInstanced was fixed. Previously this function would not generate an error when check_valid_to_render failed if numInstances was 0. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'docs/COPYING')
0 files changed, 0 insertions, 0 deletions