diff options
author | Ian Romanick <[email protected]> | 2014-11-11 09:21:40 +0000 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-01-14 17:09:50 -0800 |
commit | d5f936367ffbec5833e5eb7cf22666e38c8e3821 (patch) | |
tree | ce9833ac3a792f8838772aeca1cb983633623fe5 /src/mesa/swrast/s_texfetch_tmp.h | |
parent | a4aeb534ea8a21770b28cdf1f66cff4afe123009 (diff) |
mesa: Drop index buffer bounds check
The previous check was insufficient (as it did not take 'indices' into
consideration), and DX10 hardware does not need this check anyway.
Since index_bytes is no longer used, remove it.
On Bay Trail-D using Fedora 20 compile flags (-m64 -O2 -mtune=generic
for 64-bit and -m32 -march=i686 -mtune=atom for 32-bit), affects
Gl32Batch7:
32-bit: Difference at 95.0% confidence 1.66929% +/- 0.230107% (n=40)
64-bit: Difference at 95.0% confidence -1.40848% +/- 0.288038% (n=40)
The regression on 64-bit is odd. Callgrind says the caller,
validate_DrawElements_common is faster. Before it says 10,321,920
cycles, and after it says 8,945,664.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_texfetch_tmp.h')
0 files changed, 0 insertions, 0 deletions