diff options
author | Francisco Jerez <[email protected]> | 2015-09-03 16:12:59 +0300 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-10-09 17:48:46 +0300 |
commit | 25d3338be37ddbfe676716034ec5f29e27323704 (patch) | |
tree | a8350dd260afb109ecb6af4f0d9c049e756912a5 /src/mesa/program/prog_execute.c | |
parent | 5152db415f4047569822d648fda09bdde4171d6d (diff) |
mesa: Skip redundant texture completeness checking during image validation.
The call to _mesa_test_texobj_completeness() is unnecessary if the
texture is already known to be complete. If the texture object is
dirtied in the meantime _BaseComplete and _MipmapComplete will be
reset to false. _mesa_is_image_unit_valid() will start to be called
more frequently in a future commit, so it seems desirable to avoid the
unnecessary work.
Tested-by: Ye Tian <[email protected]>
CC: "11.0" <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_execute.c')
0 files changed, 0 insertions, 0 deletions