diff options
author | Roland Scheidegger <sroland@vmware.com> | 2009-08-15 03:44:02 +0200 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2009-08-15 03:44:43 +0200 |
commit | b9789948e0b5c5fad7952ea5b731c675d50a4f58 (patch) | |
tree | 84d787611f9ce0a95f3c1969888ec2908ac4c304 /src/mesa/drivers/dri/radeon | |
parent | e304c65a2b9c1005d6216e91d90a99001549a63d (diff) |
i965: disable bounds checking on arrays with stride 0
if stride is 0 we cannot use count as max index for bounds checking,
since the hardware will simply return 0 as data for indices failing
bounds check. If stride is 0 any index should be valid hence simply
disable bounds checking in this case.
This fixes bugs introduced with e643bc5fc7afb563028f5a089ca5e38172af41a8.
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
0 files changed, 0 insertions, 0 deletions